TouchInput Structure
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Contains information about a touch event.
Namespace: Microsoft.SPOT.Touch
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public Structure TouchInput
public struct TouchInput
public value class TouchInput
[<Sealed>]
type TouchInput = struct end
JScript supports the use of structures, but not the declaration of new ones.
The TouchInput type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
![]() |
ContactHeight | Represents the height of the contact area when touching a touch panel. |
![]() |
ContactWidth | Represents the width of the contact area when touching a touch panel. |
![]() |
Flags | Any TouchInputFlags that are associated with this TouchInput instance. |
![]() |
SourceID | Indicates the source index for a particular TouchInput. |
![]() |
X | The X-axis (horizontal) location of the TouchInput, in screen coordinates. |
![]() |
Y | The Y-axis (vertical) location of the TouchInput, in screen coordinates. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.