Skip to content

LongPressStartEvent

Inherits: Event[EventControlType]

Properties

  • global_position(Offset | None) –

    The global position at which the pointer initially contacted the screen.

  • local_position(Offset | None) –

    The local position at which the pointer initially contacted the screen.

Properties#

global_position #

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

The global position at which the pointer initially contacted the screen.

local_position #

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

The local position at which the pointer initially contacted the screen.