Drag.setHotspot

Sets the position of the drag surface that will be kept under the cursor hotspot.

Initially, the hotspot is at the top left corner of the drag surface.

class Drag
void
setHotspot
(
int hotX
,
int hotY
)

Parameters

hotX int

x coordinate of the drag surface hotspot

hotY int

y coordinate of the drag surface hotspot

Meta