Defines the event data for MouseDevice events. More...
Public Member Functions | |
| MouseEventArgs () | |
| Constructs a new instance. | |
| MouseEventArgs (int x, int y) | |
| Constructs a new instance. | |
| MouseEventArgs (MouseEventArgs args) | |
| Constructs a new instance. | |
Properties | |
| int | X [get, set] |
| Gets the X position of the mouse for the event. | |
| int | Y [get, set] |
| Gets the Y position of the mouse for the event. | |
| Point | Position [get] |
| Gets a System.Drawing.Points representing the location of the mouse for the event. | |
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.
Definition at line 370 of file MouseDevice.cs.
| OpenTK.Input.MouseEventArgs.MouseEventArgs | ( | ) |
| OpenTK.Input.MouseEventArgs.MouseEventArgs | ( | int | x, | |
| int | y | |||
| ) |
Constructs a new instance.
| x | The X position. | |
| y | The Y position. |
Definition at line 392 of file MouseDevice.cs.
| OpenTK.Input.MouseEventArgs.MouseEventArgs | ( | MouseEventArgs | args | ) |
Constructs a new instance.
| args | The MouseEventArgs instance to clone. |
Definition at line 402 of file MouseDevice.cs.
Point OpenTK.Input.MouseEventArgs.Position [get] |
Gets a System.Drawing.Points representing the location of the mouse for the event.
Definition at line 424 of file MouseDevice.cs.
int OpenTK.Input.MouseEventArgs.X [get, set] |
Gets the X position of the mouse for the event.
Definition at line 414 of file MouseDevice.cs.
int OpenTK.Input.MouseEventArgs.Y [get, set] |
Gets the Y position of the mouse for the event.
Definition at line 419 of file MouseDevice.cs.
1.6.1