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 parameters.
public TouchEventArgs(long id, TouchAction type, PointD location, bool inContact)
Parameters
idlongThe ID used to track the touch event.
typeTouchActionThe type of touch action that initiated this event.
locationPointDThe location of the touch.
inContactboolWhether 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
idlongThe ID used to track the touch event.
typeTouchActionThe type of touch action that initiated this event.
mouseButtonMouseButtonThe mouse button used to raise the touch event.
deviceTypeTouchDeviceTypeThe touch device used to raise the touch event.
locationPointDThe location of the touch.
inContactboolWhether 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
idlongThe ID used to track the touch event.
typeTouchActionThe type of touch action that initiated this event.
mouseButtonMouseButtonThe mouse button used to raise the touch event.
deviceTypeTouchDeviceTypeThe touch device used to raise the touch event.
locationPointDThe location of the touch.
inContactboolWhether or not the touch device is in contact with the screen.
wheelDeltaintThe 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
idlongThe ID used to track the touch event.
typeTouchActionThe type of touch action that initiated this event.
mouseButtonMouseButtonThe mouse button used to raise the touch event.
deviceTypeTouchDeviceTypeThe touch device used to raise the touch event.
locationPointDThe location of the touch.
inContactboolWhether or not the touch device is in contact with the screen.
wheelDeltaintThe amount the wheel was scrolled.
pressurefloatThe pressure of the touch event.