TapEvent
Payload for tap press/release events.
Inherits: Event
Properties
global_position- The global position at which the pointer contacted the screen.kind- The kind of the device that initiated the event.local_position- The local position at which the pointer contacted the screen.
Properties
global_positionclass-attributeinstance-attribute
global_position: Optional[Offset] = field(default=None, metadata={'data_field': 'g'})The global position at which the pointer contacted the screen.
kindclass-attributeinstance-attribute
kind: Optional[PointerDeviceType] = field(default=None, metadata={'data_field': 'k'})The kind of the device that initiated the event.