Gesture
Abstract base class for gesture recognizers.
Properties
2
Properties
2Get/Set the recognition state for this gesture. The getter indicates whether this gesture has been recognized for the current pointerdown sequence.
This property can be set to false during recognition to indicate that this gesture should no longer be
considered a candidate. Doing so will remove the gesture from the current recognition process and this gesture
instance will destroy() itself.
This property is set to true when a gesture has been recognized. All other gestures in the set of candidates
will be destroyed.
Functions
1
Functions
1This method is called when processing pointerdown to filter down to only the applicable gesture classes. If
this method returns true, a Gesture instance is created for gesture recognition.
By default, this method returns true if the touchPoints static property is falsy or
is equal to number of pointers that are down.
| Parameter | Type | Description |
|---|---|---|
pointers | Pointers | The |