polyActionHandler
polyActionHandler(
eventData
,transform
,x
,y
):boolean
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: TPointerEvent
• transform: TTransformAnchor
• x: number
• y: number
Returns
boolean