Tizen Native API
4.0
|
A LongPressGesture is emitted when the user touches and holds the screen with the stated number of fingers. More...
Public Member Functions | |
LongPressGesture (Gesture::State state) | |
Constructor. | |
LongPressGesture (const LongPressGesture &rhs) | |
Copy constructor. | |
LongPressGesture & | operator= (const LongPressGesture &rhs) |
Assignment operator. | |
virtual | ~LongPressGesture () |
Virtual destructor. | |
Public Attributes | |
unsigned int | numberOfTouches |
The number of touch points in this long press gesture, i.e. the number of fingers the user had on the screen to generate the long press gesture. | |
Vector2 | screenPoint |
This is the point, in screen coordinates, where the long press occurred. | |
Vector2 | localPoint |
This is the point, in local actor coordinates, where the long press occurred. |
A LongPressGesture is emitted when the user touches and holds the screen with the stated number of fingers.
This gesture can be in one of two states, when the long-press gesture is first detected: Gesture::Started and when the long-press gesture ends: Gesture::Finished.
Long press gesture finishes when all touches have been released.
Constructor.
[in] | state | The state of the gesture |
Dali::LongPressGesture::LongPressGesture | ( | const LongPressGesture & | rhs | ) |
Copy constructor.
[in] | rhs | A reference to the copied handle |
virtual Dali::LongPressGesture::~LongPressGesture | ( | ) | [virtual] |
Virtual destructor.
LongPressGesture& Dali::LongPressGesture::operator= | ( | const LongPressGesture & | rhs | ) |
Assignment operator.
[in] | rhs | A reference to the copied handle |
This is the point, in local actor coordinates, where the long press occurred.
If a multi-touch long press, then this is the centroid of all the touch points.
This is the point, in screen coordinates, where the long press occurred.
If a multi-touch long press, then this is the centroid of all the touch points.