Constructor
-
new KonvaSelectionTool()
-
Describes the whiteboard selection tool.
Methods
-
dragEnd(event, scale) → {void}
-
Finishes process of moving the shape within the whiteboard canvas.
Function is being invoked when the user triggers mouseup event
on the whiteboard canvas when a selection tool is selected.Parameters:
Name Type Description event
object HTML DOM mouseup event.
scale
number Scale which currently applies to the whiteboard canvas.
Returns:
{ void }
-
dragStart(event, scale) → {void}
-
Starts process of moving the shape within the whiteboard canvas.
Function is being invoked when the user triggers mousedown event
on the whiteboard canvas when a selection tool is selected.Parameters:
Name Type Description event
object HTML DOM mousedown event.
scale
number Scale which currently applies to the whiteboard canvas.
Returns:
{ void }