polyActionHandler
polyActionHandler(
eventData
,transform
,x
,y
):boolean
Defined in: src/controls/polyControl.ts:45
This function defines what the control does.
It’ll be called on every mouse move after a control has been clicked and is being dragged.
The function receives as argument the mouse event, the current transform object
and the current position in canvas coordinate transform.target
is a reference to the
current object being transformed.
Parameters
eventData
transform
TTransformAnchor
x
number
y
number
Returns
boolean