Id of the tool
Is the pointer down.
last point where the cursor was.
If true, a shape was dragged.
List of selected shapes
Shape being dragged.
Determines the shape that is selected, if any.
Pointer Event that triggered this function.
Canvas where the event was triggered.
Drags the selected shapes.
Pointer Event that triggered this function.
Canvas where the event was triggered.
Emits events that a shape was dragged and/or selected.
Pointer Event that triggered this function.
Canvas where the event was triggered.
Selects a shape.
Shape to select.
To unselect
Unselects all shapes
Unselects a shape.
Shape to unselect.
Generated using TypeDoc
A class to add a selection tool. It allows to select and drag a shape.