Struct GestureSample
Represents data from a multi-touch gesture over a span of time.
public struct GestureSample
- Inherited Members
Constructors
GestureSample(GestureType, TimeSpan, Vector2, Vector2, Vector2, Vector2)
Initializes a new GestureSample.
public GestureSample(GestureType gestureType, TimeSpan timestamp, Vector2 position, Vector2 position2, Vector2 delta, Vector2 delta2)
Parameters
gestureType
GestureTypetimestamp
TimeSpanposition
Vector2position2
Vector2delta
Vector2delta2
Vector2
Properties
Delta
Gets the delta information for the first touch-point in the gesture sample.
public Vector2 Delta { get; }
Property Value
Delta2
Gets the delta information for the second touch-point in the gesture sample.
public Vector2 Delta2 { get; }
Property Value
GestureType
Gets the type of the gesture.
public GestureType GestureType { get; }
Property Value
Position
Gets the position of the first touch-point in the gesture sample.
public Vector2 Position { get; }
Property Value
Position2
Gets the position of the second touch-point in the gesture sample.
public Vector2 Position2 { get; }
Property Value
Timestamp
Gets the starting time for this multi-touch gesture sample.
public TimeSpan Timestamp { get; }