Class MouseMoveEventArgs
Defines the event data for Move events.
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK.Input
Assembly: cs.temp.dll.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 |
---|---|---|
System.Int32 | x | The X position. |
System.Int32 | y | The Y position. |
System.Int32 | xDelta | The change in X position produced by this event. |
System.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 |
---|---|
System.Int32 |
YDelta
Gets the change in Y position produced by this event.
Declaration
public int YDelta { get; }
Property Value
Type | Description |
---|---|
System.Int32 |