set_drag_area


Description:

public void set_drag_area (Rect? drag_area)

Sets drag_area to constrain the dragging of the actor associated with this, so that it position is always within drag_area, expressed in parent's coordinates.

If drag_area is null, the actor is not constrained.

Parameters:

this

a DragAction

drag_area

a Rect