FlickEventArgs Class Reference

Flick event argument. More...

Inheritance diagram for FlickEventArgs:
GestureEventArgs

List of all members.

Public Member Functions

 FlickEventArgs (Widget source, Vector2 worldPosition, Vector2 localPosition, Vector2 flickSpeed)
 Constructor.

Properties

Vector2 WorldPosition [get, set]
 Obtains the position in the world (screen) coordinate system.
Vector2 LocalPosition [get, set]
 Obtains the position in the local coordinate system.
Vector2 Speed [get, set]
 Obtains the flick speed.

Detailed Description

Flick event argument.


Constructor & Destructor Documentation

FlickEventArgs ( Widget  source,
Vector2  worldPosition,
Vector2  localPosition,
Vector2  flickSpeed 
)

Constructor.

Parameters:
sourceEvent source widget
worldPositionPosition in the world (screen) coordinate system
localPositionPosition in the local coordinate system
flickSpeedFlick speed

Property Documentation

Vector2 Speed [get, set]

Obtains the flick speed.

(pixels/second) This value is the speed vector in the horizontal and vertical directions and is not related to the FlickGestureDetector.Direction value.