GestureTypeΒΆ

enum GestureType : System.Enum, System.IComparable, System.IFormattable, System.IConvertible

Enumuration of values that represent different gestures that can be processed by M:Microsoft.Xna.Framework.Input.Touch.TouchPanel.ReadGesture.

GestureType None

No gestures.

GestureType Tap

The user touched a single point.

GestureType DragComplete

States completion of a drag gesture(VerticalDrag, HorizontalDrag, or FreeDrag).

GestureType Flick

States that a touch was combined with a quick swipe.

GestureType FreeDrag

The use touched a point and then performed a free-form drag.

GestureType Hold

The use touched a single point for approximately one second.

GestureType HorizontalDrag

The user touched the screen and performed either left to right or right to left drag gesture.

GestureType Pinch

The user either converged or diverged two touch-points on the screen which is like a two-finger drag.

GestureType PinchComplete

An in-progress pinch operation was completed.

GestureType DoubleTap

The user tapped the device twice which is always preceded by a Tap gesture.

GestureType VerticalDrag

The user touched the screen and performed either top to bottom or bottom to top drag gesture.