Skip to content

projectStrokeOnPoints

projectStrokeOnPoints(points, options, openPath): TProjection[]

Used to calculate object’s bounding box

Parameters

points: XY[]

options: TProjectStrokeOnPointsOptions

openPath: boolean = false

Returns

TProjection[]

See

https://github.com/fabricjs/fabric.js/pull/8344

Defined in

src/util/misc/projectStroke/index.ts:16