Class TouchInput
Represents a single touch input on a touch-sensitive screen.
Inherited Members
Namespace: nanoFramework.UI
Assembly: nanoFramework.Graphics.dll
Syntax
public class TouchInput
Constructors
TouchInput()
Declaration
public TouchInput()
Fields
ContactHeight
Gets or sets the height of the touch contact area.
Declaration
public uint ContactHeight
Field Value
Type | Description |
---|---|
uint |
ContactWidth
Gets or sets the width of the touch contact area.
Declaration
public uint ContactWidth
Field Value
Type | Description |
---|---|
uint |
Flags
Gets or sets the flags associated with the touch input.
Declaration
public TouchInputFlags Flags
Field Value
Type | Description |
---|---|
TouchInputFlags |
SourceID
Gets or sets the source ID of the touch input.
Declaration
public byte SourceID
Field Value
Type | Description |
---|---|
byte |
X
Gets or sets the x-coordinate of the touch input.
Declaration
public int X
Field Value
Type | Description |
---|---|
int |
Y
Gets or sets the y-coordinate of the touch input.
Declaration
public int Y
Field Value
Type | Description |
---|---|
int |