Tizen Native API
5.0
|
Touch events are a collection of touch points at a specific moment in time. More...
Public Member Functions | |
TouchEvent () DALI_DEPRECATED_API | |
Default constructor. | |
TouchEvent (unsigned long time) DALI_DEPRECATED_API | |
Constructor. | |
~TouchEvent () DALI_DEPRECATED_API | |
Destructor. | |
uint32_t | GetPointCount () const DALI_DEPRECATED_API |
Returns the total number of points in this TouchEvent. | |
const TouchPoint & | GetPoint (uint32_t point) const DALI_DEPRECATED_API |
Returns a touch point at the index requested. | |
Public Attributes | |
TouchPointContainer | points |
This is a container of points for this touch event. | |
unsigned long | time |
The time (in ms) that the touch event occurred. |
Touch events are a collection of touch points at a specific moment in time.
When a multi-touch event occurs, each touch point represents the points that are currently being touched or the points where a touch has stopped.
Default constructor.
Dali::TouchEvent::TouchEvent | ( | unsigned long | time | ) |
Constructor.
[in] | time | The time the event occurred |
const TouchPoint& Dali::TouchEvent::GetPoint | ( | uint32_t | point | ) | const |
Returns a touch point at the index requested.
The first point in the set is always the primary touch point (i.e. the first point touched in a multi-touch event).
[in] | point | The index of the required Point |
uint32_t Dali::TouchEvent::GetPointCount | ( | ) | const |
Returns the total number of points in this TouchEvent.
This is a container of points for this touch event.
The first point in the set is always the primary touch point (i.e. the first point touched in a multi-touch event).
unsigned long Dali::TouchEvent::time |
The time (in ms) that the touch event occurred.