SKTouchEventArgs Class

Definition

Provides data for the Touch or Touch event.

public class SKTouchEventArgs : EventArgs
Inheritance
SKTouchEventArgs

Constructors

SKTouchEventArgs(Int64, SKTouchAction, SKMouseButton, SKTouchDeviceType, SKPoint, Boolean, Int32, Single)

Creates a new instance of the SKTouchEventArgs event arguments.

SKTouchEventArgs(Int64, SKTouchAction, SKMouseButton, SKTouchDeviceType, SKPoint, Boolean, Int32)

Creates a new instance of the SKTouchEventArgs event arguments.

SKTouchEventArgs(Int64, SKTouchAction, SKMouseButton, SKTouchDeviceType, SKPoint, Boolean)

Creates a new instance of the SKTouchEventArgs event arguments.

SKTouchEventArgs(Int64, SKTouchAction, SKPoint, Boolean)

Creates a new instance of the SKTouchEventArgs event arguments.

Properties

ActionType

Gets a value indicating which type of touch action resulted in this event being raised.

DeviceType

Gets a value indicating which type of touch device was used to raise this event.

Handled

Gets or sets a value indicating whether the event has been handled and should not propagate further.

Id

Gets the ID that can be used to track this particular event.

InContact

Gets a value indicating whether the device is touching the screen, or being pressed, at the current time.

Location

Gets the location of the touch on the view (in pixel coordinates).

MouseButton

Gets a value indicating which mouse button resulted in this event being raised.

Pressure

Gets the pressure of the touch event.

WheelDelta

Gets the amount that the mouse wheel was scrolled.

Methods

ToString()

Returns a string that represents the current object.

Applies to