Skip to content

cubicBezier

cubicBezier(p0, p1, p2, p3, tolerance?): Vec2[]

Defined in: sdk/src/render/vectorPath.ts:464

A cubic Bezier curve as points, cut finely enough that no point is further than tolerance from the curve.

Vec2

Vec2

Vec2

Vec2

number = 0.25

Vec2[]