FlickGestureDetector Class Reference

Flick detector. More...

Inheritance diagram for FlickGestureDetector:
GestureDetector

List of all members.

Public Member Functions

 FlickGestureDetector ()
 Constructor.

Protected Member Functions

internal override
GestureDetectorResponse 
OnTouchEvent (TouchEventCollection touchEvents)
 Distributes a touch event.
internal override void OnResetState ()
 Resets the state of gesture analysis.

Properties

float MinSpeed [get, set]
 Obtains and sets the minimum speed for determining a flick.
float MaxSpeed [get, set]
 Obtains and sets the maximum flick speed value.
FlickDirection Direction [get, set]
 Obtains and sets the flick direction to be detected.

Events

EventHandler< FlickEventArgsFlickDetected
 Flick event handler.

Detailed Description

Flick detector.


Member Function Documentation

internal override GestureDetectorResponse OnTouchEvent ( TouchEventCollection  touchEvents) [protected, virtual]

Distributes a touch event.

Parameters:
touchEventsTouch event
Returns:
Response to touch event distribution

Implements GestureDetector.


Property Documentation

float MaxSpeed [get, set]

Obtains and sets the maximum flick speed value.

(pixels/second) This value is set to the flick speed when the absolute value of the flick speed is greater than this value at the time a FlickDetected event occurs.

float MinSpeed [get, set]

Obtains and sets the minimum speed for determining a flick.

(pixels/second)