Skip to main content

ScaleEndEvent

End payload for scale/transform interaction sequences.

Inherits: Event

Properties

  • pointer_count - The number of pointers being tracked by the gesture recognizer.
  • velocity - The velocity of the last pointer to be lifted off of the screen, in pixels per second.

Properties

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.

velocityclass-attributeinstance-attribute

velocity: Offset = field(metadata={'data_field': 'v'})

The velocity of the last pointer to be lifted off of the screen, in pixels per second.