Skip to content

TapEvent

Inherits: Event[EventControlType]

Properties

Properties#

global_position class-attribute instance-attribute #

global_position: Offset | None = field(
    default=None, metadata={"data_field": "g"}
)

The global position at which the pointer contacted the screen.

kind class-attribute instance-attribute #

kind: PointerDeviceType | None = field(
    default=None, metadata={"data_field": "k"}
)

The kind of the device that initiated the event.

local_position class-attribute instance-attribute #

local_position: Offset | None = field(
    default=None, metadata={"data_field": "l"}
)

The local position at which the pointer contacted the screen.