setHotspot

open fun setHotspot(hotX: <Error class: unknown class>, hotY: <Error class: unknown class>)

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.

Parameters

hotX

x coordinate of the drag surface hotspot

hotY

y coordinate of the drag surface hotspot