Package | pq.multitouch.events |
Class | public class BaseTouchEvent |
Inheritance | BaseTouchEvent ![]() |
Property | Defined by | ||
---|---|---|---|
frameID : Number
[read-only]Indicates the frameID related with the touch event or gesture event.
| BaseTouchEvent | ||
timeStamp : Number
[read-only]Indicates the time stamp related with the touch event or gesture event.
| BaseTouchEvent | ||
x : Number
[read-only]Indicates the center X-position related with the touch event or gesture event, in screen coordinate. If more than one touch blobs are related with this event, this property is an average value of all touch blobs. (NOTE: for RotateEvent, it indicates the X-position of rotate center but not the average center.)
| BaseTouchEvent | ||
y : Number
[read-only]Indicates the center Y-position related with the touch event or gesture event, in screen coordinate. If more than one touch blobs are related with this event, this property is an average value of all touch blobs. (NOTE: for RotateEvent, it indicates the Y-position of rotate center but not the average center.)
| BaseTouchEvent |
Method | Defined by | ||
---|---|---|---|
BaseTouchEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false, screenX:Number = NaN, screenY:Number = NaN)
Base class for all events related with touch and gestures.
| BaseTouchEvent |
frameID | property |
frameID:Number
[read-only]
Indicates the frameID related with the touch event or gesture event.
Implementationpublic function get |
timeStamp | property |
timeStamp:Number
[read-only]
Indicates the time stamp related with the touch event or gesture event.
Implementationpublic function get |
x | property |
x:Number
[read-only]
Indicates the center X-position related with the touch event or gesture event, in screen coordinate.
Implementationpublic function get |
y | property |
y:Number
[read-only]
Indicates the center Y-position related with the touch event or gesture event, in screen coordinate.
Implementationpublic function get |