Skip to content

factoryPolyActionHandler

factoryPolyActionHandler(pointIndex, fn): (eventData, transform, x, y) => boolean

Defined in: src/controls/polyControl.ts:68

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