Tizen Native API
5.0
|
A TouchPoint represents a point on the screen that is currently being touched or where touch has stopped. More...
Public Types | |
enum | State |
Enumeration for Touch state. More... | |
Public Member Functions | |
TouchPoint (int32_t id, State state, float screenX, float screenY) | |
Constructor. | |
TouchPoint (int32_t id, State state, float screenX, float screenY, float localX, float localY) | |
Constructor. | |
~TouchPoint () | |
Destructor. | |
Public Attributes | |
int32_t | deviceId |
Each touch point has a unique device ID which specifies the touch device for that point. | |
State | state |
State of the point. | |
Actor | hitActor |
The actor that was underneath the touch point. | |
Vector2 | local |
The co-ordinates relative to the top-left of the hit-actor. | |
Vector2 | screen |
The co-ordinates relative to the top-left of the screen. |
A TouchPoint represents a point on the screen that is currently being touched or where touch has stopped.
Enumeration for Touch state.
Dali::TouchPoint::TouchPoint | ( | int32_t | id, |
State | state, | ||
float | screenX, | ||
float | screenY | ||
) |
Constructor.
[in] | id | The touch device ID |
[in] | state | The state |
[in] | screenX | The X co-ordinate relative to the screen's origin |
[in] | screenY | The Y co-ordinate relative to the screen's origin |
Dali::TouchPoint::TouchPoint | ( | int32_t | id, |
State | state, | ||
float | screenX, | ||
float | screenY, | ||
float | localX, | ||
float | localY | ||
) |
Constructor.
[in] | id | The touch device ID |
[in] | state | The state |
[in] | screenX | The X co-ordinate relative to the screen's origin |
[in] | screenY | The Y co-ordinate relative to the screen's origin |
[in] | localX | The X co-ordinate relative to the top-left (0.0, 0.0, 0.5) of the actor |
[in] | localY | The Y co-ordinate relative to the top-left (0.0, 0.0, 0.5) of the actor |
Destructor.
The co-ordinates relative to the top-left of the hit-actor.
State of the point.