C# Class OpenTK.Input.MouseWheelEventArgs

Defines the event data for MouseDevice.WheelChanged events.

Do not cache instances of this type outside their event handler. If necessary, you can clone an instance using the MouseWheelEventArgs(MouseWheelEventArgs) constructor.

Inheritance: MouseEventArgs
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
MouseWheelEventArgs ( ) : System

Constructs a new MouseWheelEventArgs instance.

MouseWheelEventArgs ( MouseWheelEventArgs args ) : System

Constructs a new MouseWheelEventArgs instance.

MouseWheelEventArgs ( int x, int y, int value, int delta ) : System

Constructs a new MouseWheelEventArgs instance.

Method Details

MouseWheelEventArgs() public method

Constructs a new MouseWheelEventArgs instance.
public MouseWheelEventArgs ( ) : System
return System

MouseWheelEventArgs() public method

Constructs a new MouseWheelEventArgs instance.
public MouseWheelEventArgs ( MouseWheelEventArgs args ) : System
args MouseWheelEventArgs The instance to clone.
return System

MouseWheelEventArgs() public method

Constructs a new MouseWheelEventArgs instance.
public MouseWheelEventArgs ( int x, int y, int value, int delta ) : System
x int The X position.
y int The Y position.
value int The value of the wheel.
delta int The change in value of the wheel for this event.
return System