Constructor TouchEventArgs
TouchEventArgs()
Initializes a new instance of the TouchEventArgs class.
public TouchEventArgs()
TouchEventArgs(long, TouchAction, PointD, bool)
Initializes a new instance of the TouchEventArgs class with the specified paramaters.
public TouchEventArgs(long id, TouchAction type, PointD location, bool inContact)
Parameters
id
longThe ID used to track the touch event.
type
TouchActionThe type of touch action that initiated this event.
location
PointDThe location of the touch.
inContact
boolWhether or not the touch device is in contact with the screen.
TouchEventArgs(long, TouchAction, MouseButton, TouchDeviceType, PointD, bool)
Initializes a new instance of the TouchEventArgs class with the specified parameters.
public TouchEventArgs(long id, TouchAction type, MouseButton mouseButton, TouchDeviceType deviceType, PointD location, bool inContact)
Parameters
id
longThe ID used to track the touch event.
type
TouchActionThe type of touch action that initiated this event.
mouseButton
MouseButtonThe mouse button used to raise the touch event.
deviceType
TouchDeviceTypeThe touch device used to raise the touch event.
location
PointDThe location of the touch.
inContact
boolWhether or not the touch device is in contact with the screen.
TouchEventArgs(long, TouchAction, MouseButton, TouchDeviceType, PointD, bool, int)
Initializes a new instance of the TouchEventArgs class with the specified parameters.
public TouchEventArgs(long id, TouchAction type, MouseButton mouseButton, TouchDeviceType deviceType, PointD location, bool inContact, int wheelDelta)
Parameters
id
longThe ID used to track the touch event.
type
TouchActionThe type of touch action that initiated this event.
mouseButton
MouseButtonThe mouse button used to raise the touch event.
deviceType
TouchDeviceTypeThe touch device used to raise the touch event.
location
PointDThe location of the touch.
inContact
boolWhether or not the touch device is in contact with the screen.
wheelDelta
intThe amount the wheel was scrolled.
TouchEventArgs(long, TouchAction, MouseButton, TouchDeviceType, PointD, bool, int, float)
Initializes a new instance of the TouchEventArgs class with the specified parameters.
public TouchEventArgs(long id, TouchAction type, MouseButton mouseButton, TouchDeviceType deviceType, PointD location, bool inContact, int wheelDelta, float pressure)
Parameters
id
longThe ID used to track the touch event.
type
TouchActionThe type of touch action that initiated this event.
mouseButton
MouseButtonThe mouse button used to raise the touch event.
deviceType
TouchDeviceTypeThe touch device used to raise the touch event.
location
PointDThe location of the touch.
inContact
boolWhether or not the touch device is in contact with the screen.
wheelDelta
intThe amount the wheel was scrolled.
pressure
floatThe pressure of the touch event.