factoryPolyActionHandler
factoryPolyActionHandler(
pointIndex
,fn
): (eventData
,transform
,x
,y
) =>boolean
Keep the polygon in the same position when we change its width
/height
/top
/left
.
Parameters
• pointIndex: number
• fn: TransformActionHandler
<TTransformAnchor
>
Returns
Function
Parameters
• eventData: TPointerEvent
• transform: Transform
• x: number
• y: number
Returns
boolean