Triangle
triangleBlock elementGraph
A triangle 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
triangle(x: 0; y: 0; size: 2)triangle(x: -2; y: 1; size: 1; colour: orange)