API: forms
Interface: QuadraticSegment
lifecycle-kit / forms / QuadraticSegment
Interface: QuadraticSegment
Defined in: forms/path.ts:96
A quadratic Bézier — one control point.
Kept distinct from cubic rather than promoted to one, even though every
quadratic has an exact cubic equivalent. Promotion would mean two paths that
a consumer wrote differently compare equal, which sounds harmless until a
test that meant to pin "this is the cheap curve" silently stops doing so.
Properties
control
readonlycontrol:Vec2
Defined in: forms/path.ts:98
kind
readonlykind:"quadratic"
Defined in: forms/path.ts:97
to
readonlyto:Vec2
Defined in: forms/path.ts:99