set_from_paintable


Description:

public static void set_from_paintable (Drag drag, Paintable paintable, int hot_x, int hot_y)

Creates a DragIcon that shows paintable, and associates it with the drag operation.

The hotspot position on the paintable is aligned with the hotspot of the cursor.

Parameters:

drag

a Drag

paintable

a Paintable to display

hot_x

X coordinate of the hotspot

hot_y

Y coordinate of the hotspot