setHotspot

open fun setHotspot(@NonNull drawable: Drawable, x: Float, y: Float)(source)

Specifies the hotspot's location within the drawable.

Parameters

drawable

The Drawable against which to invoke the method.

x

The X coordinate of the center of the hotspot

y

The Y coordinate of the center of the hotspot