DragContext.setHotspot

Sets the position of the drag window that will be kept under the cursor hotspot. Initially, the hotspot is at the top left corner of the drag window.

class DragContext
void
setHotspot
(
int hotX
,
int hotY
)

Parameters

hotX int

x coordinate of the drag window hotspot

hotY int

y coordinate of the drag window hotspot

Meta

Since

3.20