The ScreenTapGesture class represents a tapping gesture by a finger or tool. More...
Inherits Gesture.
Public Member Functions | |
Vector | direction () |
The direction of finger tip motion. More... | |
Pointable | pointable () |
The finger performing the screen tap gesture. More... | |
Vector | position () |
The position where the screen tap is registered. More... | |
float | progress () |
The progress value is always 1.0 for a screen tap gesture. More... | |
ScreenTapGesture () | |
Constructs a new ScreenTapGesture object. More... | |
ScreenTapGesture (Gesture rhs) | |
Constructs a ScreenTapGesture object from an instance of the Gesture class. More... | |
![]() | |
long | duration () |
The elapsed duration of the recognized movement up to the frame containing this Gesture object, in microseconds. More... | |
float | durationSeconds () |
The elapsed duration in seconds. More... | |
boolean | equals (Gesture rhs) |
Compare Gesture object equality. More... | |
Frame | frame () |
The Frame containing this Gesture instance. More... | |
Gesture () | |
Constructs a new Gesture object. More... | |
Gesture (Gesture rhs) | |
Constructs a new copy of an Gesture object. More... | |
HandList | hands () |
The list of hands associated with this Gesture, if any. More... | |
int | id () |
The gesture ID. More... | |
boolean | isValid () |
Reports whether this Gesture instance represents a valid Gesture. More... | |
PointableList | pointables () |
The list of fingers and tools associated with this Gesture, if any. More... | |
Gesture.State | state () |
The gesture state. More... | |
String | toString () |
A string containing a brief, human-readable description of this Gesture. More... | |
Gesture.Type | type () |
The gesture type. More... | |
Static Public Member Functions | |
static Gesture.Type | classType () |
The screen tap gesture type. More... | |
![]() | |
static Gesture | invalid () |
Returns an invalid Gesture object. More... | |
ScreenTapGesture | ( | ) |
Constructs a new ScreenTapGesture object.
An uninitialized ScreenTapGesture object is considered invalid. Get valid instances of the ScreenTapGesture class from a Frame object.
ScreenTapGesture | ( | Gesture | rhs | ) |
Constructs a ScreenTapGesture object from an instance of the Gesture class.
rhs | The Gesture instance to specialize. This Gesture instance must be a ScreenTapGesture object. |
|
static |
The screen tap gesture type.
Vector direction | ( | ) |
The direction of finger tip motion.
Pointable pointable | ( | ) |
The finger performing the screen tap gesture.
Vector position | ( | ) |
The position where the screen tap is registered.
float progress | ( | ) |
The progress value is always 1.0 for a screen tap gesture.