主题
TapEvent 继承自: Event[EventControlType]
Payload for tap press/release events.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
kind | Optional[PointerDeviceType] | None | The kind of the device that initiated the event. |
local_position | Optional[Offset] | None | The local position at which the pointer contacted the screen. |
global_position | Optional[Offset] | None | The global position at which the pointer contacted the screen. |