ZennoLab Assemblies Documentation
TouchData Constructor(Single,Single,Int32,Single,Single,Single,Single,EventFlags,PointerType)
ZennoLab.CommandCenter.TouchEvents Namespace > TouchData Class > TouchData Constructor : TouchData Constructor(Single,Single,Int32,Single,Single,Single,Single,EventFlags,PointerType)

Type: System.Single

X coordinate relative to the left side of the view.

Type: System.Single

Y coordinate relative to the top side of the view.

Type: System.Int32

Id of a touch point. Must be unique per touch, can be any number except -1. Note that a maximum of 16 concurrent touches will be tracked; touches beyond that will be ignored.

Type: System.Single

X radius in pixels. Set to 0 if not applicable.

Type: System.Single

Y radius in pixels. Set to 0 if not applicable.

Type: System.Single

Rotation angle in radians. Set to 0 if not applicable.

Type: System.Single

The normalized pressure of the pointer input in the range of [0,1]. Set to 0 if not applicable.

Type: ZennoLab.CommandCenter.TouchEvents.EventFlags

Bit flags describing any pressed modifier keys. Use "bitwise or" operator when more than one modifier is pressed.

Type: ZennoLab.CommandCenter.TouchEvents.PointerType

The device type that caused the event.

TouchData constructor
Syntax

Parameters

x

Type: System.Single

X coordinate relative to the left side of the view.

y

Type: System.Single

Y coordinate relative to the top side of the view.

id

Type: System.Int32

Id of a touch point. Must be unique per touch, can be any number except -1. Note that a maximum of 16 concurrent touches will be tracked; touches beyond that will be ignored.

radiusX

Type: System.Single

X radius in pixels. Set to 0 if not applicable.

radiusY

Type: System.Single

Y radius in pixels. Set to 0 if not applicable.

rotationAngle

Type: System.Single

Rotation angle in radians. Set to 0 if not applicable.

force

Type: System.Single

The normalized pressure of the pointer input in the range of [0,1]. Set to 0 if not applicable.

modifiers

Type: ZennoLab.CommandCenter.TouchEvents.EventFlags

Bit flags describing any pressed modifier keys. Use "bitwise or" operator when more than one modifier is pressed.

pointerType

Type: ZennoLab.CommandCenter.TouchEvents.PointerType

The device type that caused the event.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TouchData Class
TouchData Members
Overload List