Skip to main content

DragGestureEvent

Describes the pointer state during a drag gesture. Passed to the handlers of a DragGesture.

class DragGestureEvent

Properties

position

position: Point

The pointer position in the component's coordinate system.

See Point


start_position

start_position: Point

The pointer position at the start of the DragGestureEvent.

See Point


frame

frame: Rect

The component's bounding box during the event.

See Rect


delta

delta: Point

The pointer delta to the last pointer event.

See Point


modifiers

modifiers: KeyboardModifiers

The keyboard modifiers that were active during the event. See KeyboardModifiers