Coherent UI for .NET  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Coherent.UI.TouchEventData Class Reference

A touch event. More...

Inherits IDisposable.

Properties

int X [get, set]
 The X position where the touch happened in pixels in the space of the view. More...
 
int Y [get, set]
 The Y position where the touch happened in pixels in the space of the view. More...
 
uint Id [get, set]
 Identifies a particular touch input. This value must stay consistent in a touch contact sequence. More...
 
TouchEventData.EventType Type [get, set]
 The type of the touch event. More...
 
bool HasRadiusInformation [get, set]
 Flags if there is contact radius information for this event. More...
 
uint RadiusX [get, set]
 The X radius of the contact (must be set only if HasRadiusInformation == true) More...
 
uint RadiusY [get, set]
 The Y radius of the contact (must be set only if HasRadiusInformation == true) More...
 

Detailed Description

A touch event.

Property Documentation

bool Coherent.UI.TouchEventData.HasRadiusInformation
getset

Flags if there is contact radius information for this event.

uint Coherent.UI.TouchEventData.Id
getset

Identifies a particular touch input. This value must stay consistent in a touch contact sequence.

uint Coherent.UI.TouchEventData.RadiusX
getset

The X radius of the contact (must be set only if HasRadiusInformation == true)

uint Coherent.UI.TouchEventData.RadiusY
getset

The Y radius of the contact (must be set only if HasRadiusInformation == true)

TouchEventData.EventType Coherent.UI.TouchEventData.Type
getset

The type of the touch event.

int Coherent.UI.TouchEventData.X
getset

The X position where the touch happened in pixels in the space of the view.

int Coherent.UI.TouchEventData.Y
getset

The Y position where the touch happened in pixels in the space of the view.