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
Section titled “Parameters”eventData
Section titled “eventData”transform
Section titled “transform”TTransformAnchor
number
number
Returns
Section titled “Returns”boolean