Resizer
class Resizer(view: View, manageCursor: Boolean = true, var movable: Boolean = true, during: Resizer.Phase = EventBubbling) : PointerListener, PointerMotionListener
Utility for resizing/moving a View. It supports compass direction resizing and dragging.
Parameters
view
to be resized/moved
manageCursor
indicates whether the cursor should be updated by the Resizer
movable
indicates whether the Resizer will handle drag events to move view
during
Phase during which the Resizer is triggered. EventSinking allows the Resizer to get events before the View and its children
Constructors
Link copied to clipboard
constructor(view: View, manageCursor: Boolean = true, movable: Boolean = true, during: Resizer.Phase = EventBubbling)
Properties
Functions
Link copied to clipboard
Informs listener that the pointer has been dragged.
Link copied to clipboard
Informs listener that the pointer has entered the source.
Link copied to clipboard
Informs listener that the pointer has exited the source.
Link copied to clipboard
Informs listener that the pointer has been moved while over the source.
Link copied to clipboard
Informs listener that the pointer was pressed.
Link copied to clipboard
Informs listener that the pointer was released.