Skip to main content

Module graphics

Module graphics 

Source
Expand description

Graphics — vector primitives (rect, rounded rect, ellipse, line, stroke).

Composed over Container. A Graphics holds a list of primitives that are rendered with a shared SDF-based pipeline. Primitives may have an optional Stroke outline, set via Graphics::stroke before drawing.

Structs§

Graphics
Vector-primitive node. Holds an ordered list of primitives sharing the node’s container transform.
Stroke
Outline style for fillable primitives.

Enums§

Fill
Fill style for a Graphics primitive.
Primitive 🔒
One drawable primitive within a Graphics node.