drag abstract method

void drag(
  1. Point<num> startPosition,
  2. Point<num> position
)

Moves the drag avatar to the new position.

The startPosition is the position where the drag started, position is the current position. Both are relative to the whole document (page coordinates).

Implementation

void drag(Point startPosition, Point position);