-
public class PinchGestureFinder extends GestureFinder
A GestureFinder that detects PINCH gestures.
-
-
Constructor Summary
Constructors Constructor Description PinchGestureFinder(GestureFinder.Controller controller)
-
Method Summary
Modifier and Type Method Description floatgetValue(float currValue, float minValue, float maxValue)For CONTINUOUS gestures, returns the float value at the currentgesture state. -
-
Constructor Detail
-
PinchGestureFinder
PinchGestureFinder(GestureFinder.Controller controller)
-
-
Method Detail
-
getValue
float getValue(float currValue, float minValue, float maxValue)
For CONTINUOUS gestures, returns the float value at the currentgesture state. This means, for example, scaling the old value with a pinch factor,taking into account the minimum and maximum values.
- Parameters:
currValue- the last valueminValue- the min possible valuemaxValue- the max possible value
-
-
-
-