Class GestureEventTranslation
Event class for the Drag gesture.
public class GestureEventTranslation : GestureEvent
- Inheritance
-
GestureEventTranslation
- Derived
- Inherited Members
Properties
AverageSpeed
The average translation speed (in pixels per seconds) of the drag event.
public Vector2 AverageSpeed { get; }
Property Value
CurrentPosition
The current position of the drag event.
public Vector2 CurrentPosition { get; }
Property Value
DeltaTranslation
The translation performed since the last event of the gesture.
public Vector2 DeltaTranslation { get; }
Property Value
Shape
The Shape of the drag.
public GestureShape Shape { get; }
Property Value
StartPosition
The position where the drag event started.
public Vector2 StartPosition { get; }
Property Value
TotalTranslation
The translation performed since the beginning of the gesture.
public Vector2 TotalTranslation { get; }