Class MouseMoveEventArgs
Defines the event data for Move events.
Inherited Members
Namespace: OpenTK.Input
Assembly: OpenTK.dll
Syntax
public class MouseMoveEventArgs : MouseEventArgs
  Remarks
Do not cache instances of this type outside their event handler. If necessary, you can clone an instance using the MouseMoveEventArgs(MouseMoveEventArgs) constructor.
Constructors
MouseMoveEventArgs()
Constructs a new MouseMoveEventArgs instance.
Declaration
public MouseMoveEventArgs()
  MouseMoveEventArgs(MouseMoveEventArgs)
Constructs a new MouseMoveEventArgs instance.
Declaration
public MouseMoveEventArgs(MouseMoveEventArgs args)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MouseMoveEventArgs | args | The MouseMoveEventArgs instance to clone.  | 
      
MouseMoveEventArgs(Int32, Int32, Int32, Int32)
Constructs a new MouseMoveEventArgs instance.
Declaration
public MouseMoveEventArgs(int x, int y, int xDelta, int yDelta)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Int32 | x | The X position.  | 
      
| Int32 | y | The Y position.  | 
      
| Int32 | xDelta | The change in X position produced by this event.  | 
      
| Int32 | yDelta | The change in Y position produced by this event.  | 
      
Properties
XDelta
Gets the change in X position produced by this event.
Declaration
public int XDelta { get; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
YDelta
Gets the change in Y position produced by this event.
Declaration
public int YDelta { get; }
  Property Value
| Type | Description | 
|---|---|
| Int32 |