new KeyTapGesture()
Constructs a new KeyTapGesture object.
An uninitialized KeyTapGesture object is considered invalid. Get valid instances of the KeyTapGesture class from a Frame object.
- Source:
- gesture.js, line 342
Members
-
direction :Vector
-
The direction of finger tip motion.
Type:
- Vector
- Source:
- gesture.js, line 375
-
position :Vector
-
The position where the key tap is registered.
Type:
- Vector
- Source:
- gesture.js, line 368
-
progress :Number
-
The progess value is always 1.0 for a key tap gesture.
Type:
- Number
- Source:
- gesture.js, line 382