TouchGestureEventArgs Class
NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Input
Contains information about a touch gesture event.
public class TouchGestureEventArgs : EventArgs
Properties
Angle
public double Angle { get; }
The gesture angle in degrees, derived from the arguments.
Fields
Timestamp
public readonly DateTime Timestamp
The time when the gesture occurred.
Gesture
public TouchGesture Gesture
The gesture that was recognized.
X
public int X
The x center of the gesture (or start point for single touch).
Y
public int Y
The y coordinate of the gesture location.
Arguments
public ushort Arguments
Gesture-specific value (e.g. zoom distance or rotation angle).