Constructor
new PointerData(event, identifier)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The event object being wrapped. |
identifier |
number | The index of touch if applicable |
Members
event :Event
- Description:
- The original event object.
- Source:
The original event object.
Type:
- Event
point :westures-core.Point2D
- Description:
- The (x,y) coordinate of the event, wrapped in a Point2D.
- Source:
The (x,y) coordinate of the event, wrapped in a Point2D.
Type:
time :number
- Description:
- The timestamp of the event in milliseconds elapsed since January 1, 1970, 00:00:00 UTC.
- Source:
The timestamp of the event in milliseconds elapsed since January 1, 1970,
00:00:00 UTC.
Type:
- number
type :string
- Description:
- The type or 'phase' of this batch of pointer data. 'start' or 'move' or 'end' or 'cancel'
- Source:
The type or 'phase' of this batch of pointer data. 'start' or 'move' or
'end' or 'cancel'
Type:
- string