A gesture event. More...
Public Member Functions | |
float | GetDeltaX () const |
Returns the horizontal distance between the last handled position and the current position of a pan event. | |
float | GetDeltaY () const |
Returns the vertical distance between the last handled position and the current position of a pan event. | |
float | GetDuration () const |
Returns the duration between fling start and fling end of a fling event. | |
Public Attributes | |
union { | |
struct { | |
float DeltaX | |
The horizontal distance between the last handled position and the current position. | |
float DeltaY | |
The vertical distance between the last handled position and the current position. | |
} PanDetails | |
Pan details of the event. | |
struct { | |
float Duration | |
The duration between fling start and fling end. | |
} FlingDetails | |
Fling details of the event. | |
} | Details |
The details of the event. | |
float | CurrentLocationX |
The current X position of the touch in pixels in the space of the view. | |
float | CurrentLocationY |
The current Y position of the touch in pixels in the space of the view. | |
float | StartLocationX |
The start X position of the touch in pixels in the space of the view. | |
float | StartLocationY |
The start Y position of the touch in pixels in the space of the view. | |
EventType | Type |
The type of the event. | |
A gesture event.