Skip to content

TapEvent 继承自: Event[EventControlType]

Payload for tap press/release events.

属性 ​

名称类型默认值说明
kindOptional[PointerDeviceType]NoneThe kind of the device that initiated the event.
local_positionOptional[Offset]NoneThe local position at which the pointer contacted the screen.
global_positionOptional[Offset]NoneThe global position at which the pointer contacted the screen.

关注我,学习大模型、大数据、Python等热门技术。