Struct TouchContact
Describes one touch contact (finger) in an Contacts snapshot.
public readonly record struct TouchContact : IEquatable<TouchContact>
- Implements
- Inherited Members
- Extension Methods
Constructors
TouchContact(int, Point, TouchContactState)
Describes one touch contact (finger) in an Contacts snapshot.
public TouchContact(int Id, Point Position, TouchContactState State)
Parameters
IdintThe contact identifier, stable from its Pressed to its Released snapshot.
PositionPointThe contact position, in physical (back-buffer) pixels.
StateTouchContactStateThe contact state in this snapshot.
Properties
Id
public int Id { get; init; }
Property Value
Position
The contact position, in physical (back-buffer) pixels.
public Point Position { get; init; }
Property Value
State
The contact state in this snapshot.
public TouchContactState State { get; init; }