Tizen Native API  3.0
Dali::TapGesture Struct Reference

A TapGesture is emitted when the user taps the screen with the stated number of fingers a stated number of times. More...

Inheritance diagram for Dali::TapGesture:
Dali::Gesture

Public Member Functions

 TapGesture ()
 Default Constructor.
 TapGesture (const TapGesture &rhs)
 Copy constructor.
TapGestureoperator= (const TapGesture &rhs)
 Assignment operator.
virtual ~TapGesture ()
 Virtual destructor.

Public Attributes

unsigned int numberOfTaps
 The number of taps in this tap gesture.
unsigned int numberOfTouches
 The number of touch points in this tap gesture, i.e. the number of fingers the user had on the screen to generate the tap gesture.
Vector2 screenPoint
 This is the point, in screen coordinates, where the tap occurred.
Vector2 localPoint
 This is the point, in local actor coordinates, where the tap occurred.

Detailed Description

A TapGesture is emitted when the user taps the screen with the stated number of fingers a stated number of times.

This is a discrete gesture so does not have any state information.

Since:
3.0, DALi version 1.0.0
See also:
TapGestureDetector

Constructor & Destructor Documentation

Default Constructor.

Since:
3.0, DALi version 1.0.0

Copy constructor.

Since:
3.0, DALi version 1.0.0
Parameters:
rhsA reference to the copied handle
virtual Dali::TapGesture::~TapGesture ( ) [virtual]

Virtual destructor.

Since:
3.0, DALi version 1.0.0

Member Function Documentation

TapGesture& Dali::TapGesture::operator= ( const TapGesture rhs)

Assignment operator.

Since:
3.0, DALi version 1.0.0
Parameters:
rhsA reference to the copied handle
Returns:
A reference to this

Member Data Documentation

This is the point, in local actor coordinates, where the tap occurred.

If a multi-touch tap, then this is the centroid of all the touch points.

Returns:
The point where tap has occurred (in local actor coordinates)

This is the point, in screen coordinates, where the tap occurred.

If a multi-touch tap, then this is the centroid of all the touch points.