cohtml.Net.MouseEventData
Inherits from SystemIDisposable
Public Types
Section titled “Public Types”| Name | |
|---|---|
| enum class | EventType { MouseMove, MouseDown, MouseUp, MouseWheel, MouseLeave} |
| enum class | MouseButton { ButtonNone = 0, ButtonLeft = 0, ButtonMiddle, ButtonRight, ButtonBack, ButtonForward} |
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Dispose() |
| MouseEventData() |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| MouseEventData.EventType | Type The type of the event. |
| MouseEventData.MouseButton | Button The mouse button that triggered the event. |
| int | X The X position of the mouse in pixels in the space of the view. |
| int | Y The Y position of the mouse in pixels in the space of the view. |
| float | WheelX Scroll Delta X in wheel ticks. Positive numbers mean scrolling left. |
| float | WheelY Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up. |
| int | DeltaX |
| int | DeltaY |
| EventModifiersState | Modifiers Key modifiers. |
| EventMouseModifiersState | MouseModifiers Mouse 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 |
|---|---|---|
| MouseMove | ||
| MouseDown | ||
| MouseUp | ||
| MouseWheel | ||
| MouseLeave |
enum MouseButton
Section titled “enum MouseButton”| Enumerator | Value | Description |
|---|---|---|
| ButtonNone | 0 | |
| ButtonLeft | 0 | |
| ButtonMiddle | ||
| ButtonRight | ||
| ButtonBack | ||
| ButtonForward |
Public Functions Documentation
Section titled “Public Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose()function MouseEventData
Section titled “function MouseEventData”MouseEventData()Public Property Documentation
Section titled “Public Property Documentation”property Type
Section titled “property Type”MouseEventData.EventType Type;The type of the event.
property Button
Section titled “property Button”MouseEventData.MouseButton Button;The mouse button that triggered the event.
property X
Section titled “property X”int X;The X position of the mouse in pixels in the space of the view.
property Y
Section titled “property Y”int Y;The Y position of the mouse in pixels in the space of the view.
property WheelX
Section titled “property WheelX”float WheelX;Scroll Delta X in wheel ticks. Positive numbers mean scrolling left.
property WheelY
Section titled “property WheelY”float WheelY;Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up.
property DeltaX
Section titled “property DeltaX”int DeltaX;property DeltaY
Section titled “property DeltaY”int DeltaY;property Modifiers
Section titled “property Modifiers”EventModifiersState Modifiers;Key modifiers.
property MouseModifiers
Section titled “property MouseModifiers”EventMouseModifiersState MouseModifiers;Mouse modifiers.
Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable swigCMemOwn
Section titled “variable swigCMemOwn”bool swigCMemOwn;© 2026 Coherent Labs. All rights reserved.