ScaleStartEvent
Start payload for scale/transform interaction sequences.
Inherits: Event
Properties
global_focal_point- The initial focal point of the pointers in contact with the screen, in global coordinates.local_focal_point- The initial focal point of the pointers in contact with the screen, in local coordinates.pointer_count- The number of pointers being tracked by the gesture recognizer.timestamp- Recorded timestamp of the source pointer event that triggered the scale event.
Properties
global_focal_pointclass-attributeinstance-attribute
global_focal_point: Offset = field(metadata={'data_field': 'gfp'})The initial focal point of the pointers in contact with the screen, in global coordinates.
local_focal_pointclass-attributeinstance-attribute
local_focal_point: Offset = field(metadata={'data_field': 'lfp'})The initial focal point of the pointers in contact with the screen, in local coordinates.
pointer_countclass-attributeinstance-attribute
pointer_count: int = field(metadata={'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.