Share via


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
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field ContactHeight Represents the height of the contact area when touching a touch panel.
Public field ContactWidth Represents the width of the contact area when touching a touch panel.
Public field Flags Any TouchInputFlags that are associated with this TouchInput instance.
Public field SourceID Indicates the source index for a particular TouchInput.
Public field X The X-axis (horizontal) location of the TouchInput, in screen coordinates.
Public field 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.

See Also

Reference

Microsoft.SPOT.Touch Namespace