Skip to content

ScaleStartEvent 继承自: Event[EventControlType]

Start payload for scale/transform interaction sequences.

属性 ​

名称类型默认值说明
local_focal_pointOffsetmetadata={'data_field': 'lfp'}The initial focal point of the pointers in contact with the screen, in local coordinates.
global_focal_pointOffsetmetadata={'data_field': 'gfp'}The initial focal point of the pointers in contact with the screen, in global coordinates.
pointer_countintmetadata={'data_field': 'pc'}The number of pointers being tracked by the gesture recognizer. Typically this is the number of fingers being used to pan the control using the gesture recognizer.
timestampOptional[Duration]NoneRecorded timestamp of the source pointer event that triggered the scale event. Could be None if triggered from proxied events such as accessibility.

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