cohtml.Net.TouchEventData
A touch event.
Inherits from SystemIDisposable
Public Types
Section titled “Public Types”| Name | |
|---|---|
| enum class | EventType { TouchMove, TouchDown, TouchUp} |
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Dispose() |
| TouchEventData() |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| int | X The X position where the touch happened in pixels in the space of the view. |
| int | Y The Y position where the touch happened in pixels in the space of the view. |
| uint | Id Identifies a particular touch input. This value must stay consistent in a touch contact sequence. |
| TouchEventData.EventType | Type The type of the touch event. |
| EventModifiersState | Modifiers Key modifiers. |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| bool | swigCMemOwn |
Public Types Documentation
Section titled “Public Types Documentation”enum EventType
Section titled “enum EventType”| Enumerator | Value | Description |
|---|---|---|
| TouchMove | ||
| TouchDown | ||
| TouchUp |
Public Functions Documentation
Section titled “Public Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose()function TouchEventData
Section titled “function TouchEventData”TouchEventData()Public Property Documentation
Section titled “Public Property Documentation”property X
Section titled “property X”int X;The X position where the touch happened in pixels in the space of the view.
property Y
Section titled “property Y”int Y;The Y position where the touch happened in pixels in the space of the view.
property Id
Section titled “property Id”uint Id;Identifies a particular touch input. This value must stay consistent in a touch contact sequence.
property Type
Section titled “property Type”TouchEventData.EventType Type;The type of the touch event.
property Modifiers
Section titled “property Modifiers”EventModifiersState Modifiers;Key modifiers.
Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable swigCMemOwn
Section titled “variable swigCMemOwn”bool swigCMemOwn;© 2026 Coherent Labs. All rights reserved.