C# Class SFML.Window.TouchEventArgs

Touch event parameters
Inheritance: System.EventArgs
ファイルを表示 Open project: SFML/SFML.Net

Public Properties

Property Type Description
Finger uint
X int
Y int

Public Methods

Method Description
ToString ( ) : string

Provide a string describing the object

TouchEventArgs ( TouchEvent e ) : System

Construct the touch arguments from a touch event

Method Details

ToString() public method

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

TouchEventArgs() public method

Construct the touch arguments from a touch event
public TouchEventArgs ( TouchEvent e ) : System
e TouchEvent Touch event
return System

Property Details

Finger public_oe property

Index of the finger in case of multi-touch events
public uint Finger
return uint

X public_oe property

X position of the touch, relative to the left of the owner window
public int X
return int

Y public_oe property

Y position of the touch, relative to the top of the owner window
public int Y
return int