C# Class SFML.Window.MouseButtonEventArgs

Mouse buttons event parameters
Inheritance: System.EventArgs
Exibir arquivo Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
Button Mouse.Button
X int
Y int

Public Methods

Method Description
MouseButtonEventArgs ( MouseButtonEvent e ) : System

Construct the mouse button arguments from a mouse button event

ToString ( ) : string

Provide a string describing the object

Method Details

MouseButtonEventArgs() public method

Construct the mouse button arguments from a mouse button event
public MouseButtonEventArgs ( MouseButtonEvent e ) : System
e MouseButtonEvent Mouse button event
return System

ToString() public method

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

Property Details

Button public_oe property

Code of the button (see MouseButton enum)
public Mouse.Button Button
return Mouse.Button

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