跳转到内容

createPolyControls

createPolyControls(poly, options)

createPolyControls(poly, options?): Record<string, Control>

Parameters

poly: Polyline<Partial<FabricObjectProps>, SerializedPolylineProps, ObjectEvents>

options?: Partial<Control>

Returns

Record<string, Control>

Defined in

src/controls/polyControl.ts:105

createPolyControls(numOfControls, options)

createPolyControls(numOfControls, options?): Record<string, Control>

Parameters

numOfControls: number

options?: Partial<Control>

Returns

Record<string, Control>

Defined in

src/controls/polyControl.ts:109