Polygon

A closed shape with straight sides drawn on the page, with a fill and an outline. It holds no data.

This page is generated from the product’s own definitions, so it is always current. To change it, change the product.

A closed shape with straight sides drawn on the page, with a fill and an outline. It holds no data.

When to use it. Use for triangles, arrows and other straight-sided shapes; pick a Rectangle for plain boxes.

Slots

This kind has no data slots: it shows what it is given in the editor.

Channels

ChannelLabelValueRulesBrand tokensWhat it sets
shape.fillFillcoloryesnoColour inside the shape. A fixed fill may also be a gradient; colours set by rules are always solid. Default black.
shape.opacityOpacitynumberyesnoHow see-through the whole shape is, from 0 (invisible) to 1 (solid). Default 1.
shape.strokeStrokecoloryesnoColour of the shape's outline, or of the line itself. Default black.
shape.strokeWidthStroke widthnumberyesnoThickness of the shape's outline, or of the line itself, in points. 0 draws no outline. Default 0.

See channels for every channel, rule kinds for what a rule can be, and operations for the operations that create and change this kind.