๐ง Geo Shape
A unified "geo" shape โ a single element whose geometry (rectangle, ellipse, diamond, triangle, โฆ) is chosen by a property โ does not exist here.
Planned โ not yet available.
Instead, @oh-just-another/scene ships geometry as distinct built-in element types: RectangleElement, EllipseElement, PolygonElement (an arbitrary closed polygon), and PathElement. Each has its own type guard (isRectangle, isEllipse, isPolygon, isPath).
import { isRectangle, isEllipse, isPolygon } from "@oh-just-another/scene";
Custom geometry can be registered via registerBounder and the outline-sampler API without amending the built-in union.