public static interface TouchInput.ScaleResponder
Modifier and Type | Method and Description |
---|---|
boolean |
onScale(float x,
float y,
float scale,
float velocity)
Called repeatedly while two touch points are moved closer to or further from each other
|
boolean onScale(float x, float y, float scale, float velocity)
x
- The x screen coordinate of the point between the two touch pointsy
- The y screen coordinate of the point between the two touch pointsscale
- The scale factor relative to the previous scaling eventvelocity
- The rate of scale change in units per second