C# Class SFML.Window.MouseWheelScrollEventArgs

Mouse wheel scroll event parameters
Inheritance: System.EventArgs
Mostrar archivo Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
Delta float
Wheel Mouse.Wheel
X int
Y int

Public Methods

Method Description
MouseWheelScrollEventArgs ( MouseWheelScrollEvent e ) : System

Construct the mouse wheel scroll arguments from a mouse wheel scroll event

ToString ( ) : string

Provide a string describing the object

Method Details

MouseWheelScrollEventArgs() public method

Construct the mouse wheel scroll arguments from a mouse wheel scroll event
public MouseWheelScrollEventArgs ( MouseWheelScrollEvent e ) : System
e MouseWheelScrollEvent Mouse wheel scroll event
return System

ToString() public method

Provide a string describing the object
public ToString ( ) : string
return string

Property Details

Delta public_oe property

Scroll amount
public float Delta
return float

Wheel public_oe property

Mouse Wheel which triggered the event
public Mouse.Wheel Wheel
return Mouse.Wheel

X public_oe property

X coordinate of the mouse cursor
public int X
return int

Y public_oe property

Y coordinate of the mouse cursor
public int Y
return int