![]() |
LuciadCPillar C# 2024.1.04
|
Touch point that results from a user touch interaction. More...
Public Member Functions | |
TouchPoint (Coordinate location, TouchPointState state, uint id) | |
Creates a touch point. More... | |
override bool | Equals (object other) |
Equality comparison operator. More... | |
bool | Equals (TouchPoint other) |
override int | GetHashCode () |
Static Public Member Functions | |
static bool | operator!= (TouchPoint lhs, TouchPoint rhs) |
static bool | operator== (TouchPoint lhs, TouchPoint rhs) |
Properties | |
uint | Id [get, set] |
The unique identifier of this touch point, valid until this touch point is released. More... | |
Coordinate | Location [get] |
The screen location of the touch point, expressed in device independent pixels. More... | |
TouchPointState | State [get] |
The current TouchPointState for this touch point. More... | |
Touch point that results from a user touch interaction.
|
inline |
Creates a touch point.
location | The location of the touch point, defined in device independent pixels. |
state | The status of the touch point. |
id | The touch device ID, such as an index assigned for each finger for example. |
|
inline |
Equality comparison operator.
Two touch points are equal if their id, state and location are the same.
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
getset |
The unique identifier of this touch point, valid until this touch point is released.
The unique identifier of this touch point, valid until this touch point is released.
|
get |
The screen location of the touch point, expressed in device independent pixels.
The screen location of the touch point, expressed in device independent pixels.
|
get |
The current TouchPointState for this touch point.
The current TouchPointState for this touch point.