The Open Toolkit library  1.1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
OpenTK.Input.MouseMoveEventArgs Class Reference

Defines the event data for MouseDevice.Move events. More...

Inheritance diagram for OpenTK.Input.MouseMoveEventArgs:
OpenTK.Input.MouseEventArgs

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Parameters
xThe X position.
yThe Y position.
xDeltaThe change in X position produced by this event.
yDeltaThe change in Y position produced by this event.
OpenTK.Input.MouseMoveEventArgs.MouseMoveEventArgs ( MouseMoveEventArgs  args)

Constructs a new MouseMoveEventArgs instance.

Parameters
argsThe MouseMoveEventArgs instance to clone.

Property Documentation

int OpenTK.Input.MouseMoveEventArgs.XDelta
getset

Gets the change in X position produced by this event.

int OpenTK.Input.MouseMoveEventArgs.YDelta
getset

Gets the change in Y position produced by this event.