performMouseDrag
Drags the primary mouse button across the matched node from from to to, then settles the composition. Both points are in the node's own coordinates.
The gesture is a press at from, one MOUSE_DRAGGED step at to, and a release at to, each from an event-queue cycle of its own. No MOUSE_CLICKED is delivered: a real drag ends in a release and nothing else.
The pointer is reported at to in one step. A UI that samples intermediate positions, rather than acting on the position it is given, sees only the endpoint; deliver the intermediate steps yourself with performEvent where that matters.
Return
this interaction, for chaining a further gesture or assertion.
Parameters
where the button goes down, which is where a UI that grabs on the press takes hold.
the endpoint; a UI acting on the distance from from sees the whole drag in one step.