Hexagon
hexagonBlock elementGraph
A hexagon shape positioned at (x, y) with a given size. Supports fill, opacity, and color customization.
Attributes
label
rich-texthidden
booleanDefaultfalse
lock
booleanDefaultfalse
Stacking order. Higher z renders on top; when omitted or equal, elements stack in document order (later on top).
Allowed content
Body { }Inline Chalk content (formatted text, inline math, links, and inline elements)
Allowed in
Examples
hexagon(x: 0; y: 0; size: 2)hexagon(x: 2; y: -1; size: 1.4; fill: false)