Defines the event data for MouseDevice events.
More...
|
| int | X [get, set] |
| | Gets the X position of the mouse for the event. More...
|
| |
| int | Y [get, set] |
| | Gets the Y position of the mouse for the event. More...
|
| |
| Point | Position [get] |
| | Gets a System.Drawing.Points representing the location of the mouse for the event. More...
|
| |
Defines the event data for MouseDevice events.
Do not cache instances of this type outside their event handler. If necessary, you can clone an instance using the MouseEventArgs(MouseEventArgs) constructor.
| OpenTK.Input.MouseEventArgs.MouseEventArgs |
( |
| ) |
|
Constructs a new instance.
| OpenTK.Input.MouseEventArgs.MouseEventArgs |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Constructs a new instance.
- Parameters
-
| x | The X position. |
| y | The Y position. |
Constructs a new instance.
- Parameters
-
| Point OpenTK.Input.MouseEventArgs.Position |
|
get |
Gets a System.Drawing.Points representing the location of the mouse for the event.
| int OpenTK.Input.MouseEventArgs.X |
|
getset |
Gets the X position of the mouse for the event.
| int OpenTK.Input.MouseEventArgs.Y |
|
getset |
Gets the Y position of the mouse for the event.