createPolyPositionHandler
createPolyPositionHandler(
pointIndex
): (dim
,finalMatrix
,polyObject
) =>Point
This function locates the controls. It’ll be used both for drawing and for interaction.
Parameters
• pointIndex: number
Returns
Function
Parameters
• dim: Point
• finalMatrix: TMat2D
• polyObject: Polyline
<Partial
<FabricObjectProps
>, SerializedPolylineProps
, ObjectEvents
>