Flick detector. More...
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< FlickEventArgs > | FlickDetected |
Flick event handler. |
Flick detector.
internal override GestureDetectorResponse OnTouchEvent | ( | TouchEventCollection | touchEvents | ) | [protected, virtual] |
Distributes a touch event.
touchEvents | Touch event |
Implements GestureDetector.
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)