Pinch detector. More...
Public Member Functions | |
PinchGestureDetector () | |
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 | MinPinchDistance [get, set] |
Obtains and sets the minimum pinch distance. | |
Events | |
EventHandler< PinchEventArgs > | PinchDetected |
Pinch event handler. | |
EventHandler< PinchEventArgs > | PinchStartDetected |
Pinch start event handler. | |
EventHandler< PinchEventArgs > | PinchEndDetected |
Pinch end event handler. |
Pinch detector.
internal override GestureDetectorResponse OnTouchEvent | ( | TouchEventCollection | touchEvents | ) | [protected, virtual] |
Distributes a touch event.
touchEvents | Touch event |
Implements GestureDetector.
float MinPinchDistance [get, set] |
Obtains and sets the minimum pinch distance.
Detects the pinch when the relative distance of two becomes equal to or greater than MinPinchDirection after two are moved down.