The Open Toolkit library
1.0
|
Defines the event data for MouseDevice.Move events. More...
Public Member Functions | |
MouseMoveEventArgs () | |
Constructs a new MouseMoveEventArgs instance. More... | |
MouseMoveEventArgs (int x, int y, int xDelta, int yDelta) | |
Constructs a new MouseMoveEventArgs instance. More... | |
MouseMoveEventArgs (MouseMoveEventArgs args) | |
Constructs a new MouseMoveEventArgs instance. More... | |
Public Member Functions inherited from OpenTK.Input.MouseEventArgs | |
MouseEventArgs () | |
Constructs a new instance. More... | |
MouseEventArgs (int x, int y) | |
Constructs a new instance. More... | |
MouseEventArgs (MouseEventArgs args) | |
Constructs a new instance. More... | |
Properties | |
int | XDelta [get, set] |
Gets the change in X position produced by this event. More... | |
int | YDelta [get, set] |
Gets the change in Y position produced by this event. More... | |
Properties inherited from OpenTK.Input.MouseEventArgs | |
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.Move events.
Do not cache instances of this type outside their event handler. If necessary, you can clone an instance using the MouseMoveEventArgs(MouseMoveEventArgs) constructor.
OpenTK.Input.MouseMoveEventArgs.MouseMoveEventArgs | ( | ) |
Constructs a new MouseMoveEventArgs instance.
OpenTK.Input.MouseMoveEventArgs.MouseMoveEventArgs | ( | int | x, |
int | y, | ||
int | xDelta, | ||
int | yDelta | ||
) |
Constructs a new MouseMoveEventArgs instance.
x | The X position. |
y | The Y position. |
xDelta | The change in X position produced by this event. |
yDelta | The change in Y position produced by this event. |
OpenTK.Input.MouseMoveEventArgs.MouseMoveEventArgs | ( | MouseMoveEventArgs | args | ) |
Constructs a new MouseMoveEventArgs instance.
args | The MouseMoveEventArgs instance to clone. |
|
getset |
Gets the change in X position produced by this event.
|
getset |
Gets the change in Y position produced by this event.