DragEndEvent
Completion payload for drag gestures.
Inherits: Event
Properties
global_position- The global position the pointer is located at when the drag gesture has been completed.local_position- The local position in the coordinate system of the event receiver when the drag gesture has been completed.primary_velocity- The velocity the pointer was moving along the primary axis when it stopped contacting the screen, in logical pixels per second.velocity- The velocity vector the pointer was moving when it stopped contacting the screen, in logical pixels per second.
Properties
global_positionclass-attributeinstance-attribute
global_position: Offset = field(metadata={'data_field': 'g'})The global position the pointer is located at when the drag gesture has been completed.
local_positionclass-attributeinstance-attribute
local_position: Offset = field(metadata={'data_field': 'l'})The local position in the coordinate system of the event receiver when the drag gesture has been completed.
primary_velocityclass-attributeinstance-attribute
primary_velocity: Optional[float] = field(default=None, metadata={'data_field': 'pv'})The velocity the pointer was moving along the primary axis when it stopped contacting the screen, in logical pixels per second.