Home
API: forms

Interface: Ellipse

lifecycle-kit

lifecycle-kit


lifecycle-kit / forms / Ellipse

Interface: Ellipse

Defined in: forms/path.ts:156

An axis-aligned ellipse, as a primitive rather than four beziers.

Earns its place on evidence: circle and ellipse together are 522 calls across the three surveyed games — bells, bodies, spots, eyes, plankton nodes. Both back ends draw it natively and exactly.

There is no separate circle shape. A circle is this with equal radii, and a second type would mean two ways to express one geometry and therefore two things that ought to compare equal and would not.

Properties

center

readonly center: Vec2

Defined in: forms/path.ts:158


kind

readonly kind: "ellipse"

Defined in: forms/path.ts:157


radiusX

readonly radiusX: number

Defined in: forms/path.ts:159


radiusY

readonly radiusY: number

Defined in: forms/path.ts:160