<Polygon> / Element reference
Polygon
The Polygon element in IDML: where it appears (MasterSpreads), its 59 attributes, their values, and how real documents use them.
Definition
An arbitrary closed vector shape; may carry multiple GeometryPathType contours (compound paths).
- Lives in
MasterSpreads183 andSpreads86- Frequency
- In 265 of the 305 documents of the census (86.9%), 2026-10-12
- Attributes
- 59 observed, 34 of them vary between documents
- Discussed in
- Frames & paths, Page items and stacking, Images & graphics, ItemTransform, Page-item types and Compound paths
Structure
Relationships
Inside
Contains
Properties265InCopyExportOption262TextWrapPreference262ObjectExportOption261FrameFittingOption58TransparencySetting53Image6Rectangle3TextPath2Polygon1
Polygon sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).Attributes
| Attribute | Type | Values | Default | Seen in |
|---|---|---|---|---|
| ItemTransform# Places the object: six numbers a b c d tx ty, an affine matrix from the object's own coordinates to its parent's. | list of numbers | any | — | 100% varies in 120 |
| PathGeometry a child of Properties #The object's outline, in a <Properties> child: one path per contour, each a list of anchor points in the object's own coordinates. | untyped | any | — | 100% varies in 265 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | id | any | — | 100% varies in 265 |
| StrokeWeight# The stroke's thickness, in points. | integer or real (pt) | 0 or more | 1 | 99.6% varies in 50 |
| AppliedObjectStyle# The object style applied, by its Self, such as ObjectStyle/$ID/[None]. Attributes set on the object itself override the style's. | reference to ObjectStyle | any | — | 98.9% varies in 57 |
| ContentType# What the frame is meant to hold: TextType, GraphicType or Unassigned. | keyword | Unassigned261GraphicType22 | — | 98.9% varies in 22 |
| GradientFillAngle# The direction of a linear gradient fill, in degrees. Used when the fill is a gradient. | integer or real (degrees) | -360 to 360 | — | 98.9% varies in 7 |
| GradientFillHiliteAngle# | integer | any | — | 98.9% |
| GradientFillHiliteLength# | integer | any | — | 98.9% |
| GradientFillLength# How far a gradient fill runs from its first stop to its last, in points; for a radial gradient, its radius. | integer or real (pt) | 0 or more | — | 98.9% varies in 11 |
| GradientFillStart# Where a gradient fill starts, as x y in the object's own coordinates. | list of numbers (pt) | any | — | 98.9% varies in 11 |
| GradientStrokeAngle# The direction of a linear gradient stroke, in degrees. Used when the stroke is a gradient. | integer (degrees) | -360 to 360 | — | 98.9% varies in 2 |
| GradientStrokeHiliteAngle# | integer | any | — | 98.9% |
| GradientStrokeHiliteLength# | integer | any | — | 98.9% |
| GradientStrokeLength# How far a gradient stroke runs from its first stop to its last, in points; for a radial gradient, its radius. | integer or real (pt) | 0 or more | — | 98.9% varies in 6 |
| GradientStrokeStart# Where a gradient stroke starts, as x y in the object's own coordinates. | list of numbers | any | — | 98.9% varies in 6 |
| LocalDisplaySetting# How InDesign draws this object on screen, overriding the view's display setting. It has no effect on output. | keyword | Default262 | — | 98.9% |
| StoryTitle# | builtin | any | — | 98.9% |
| HorizontalLayoutConstraints# For liquid page rules: three tokens for the space to the left, the width and the space to the right, each FixedDimension or FlexibleDimension. | text | any | — | 98.5% |
| LastUpdatedInterfaceChangeCount# | — | any | — | 98.5% |
| Name# The name InDesign shows for the object in its panels. References between objects use Self, never the name. | builtin or keyword or text | any | — | 98.5% varies in 4 |
| OverriddenPageItemProps# InDesign's bookkeeping of which properties were edited after a master item was overridden; nothing drawn depends on it. | — | any | — | 98.5% |
| ParentInterfaceChangeCount# | list of numbers | any | — | 98.5% varies in 2 |
| TargetInterfaceChangeCount# | — | any | — | 98.5% |
| VerticalLayoutConstraints# For liquid page rules: three tokens for the space above, the height and the space below, each FixedDimension or FlexibleDimension. | text | any | — | 98.5% |
Visible#Visible, Locked and Name: an item can be hidden on its own, independently of its layer; locked against editing; and given a name ($ID/ means none). | boolean | true261 | true | 98.5% |
| MiterLimit# For pointed corners, how far the point may reach, as a multiple of the stroke weight, before the corner is bevelled instead. | integer | 1 to 500 | 4 | 94% varies in 2 |
| StrokeColor# The swatch the stroke is painted with, by its Self. Swatch/None means no stroke. | reference to Color and Swatch | any | — | 89.4% varies in 86 |
| AllowOverrides# On a master page item: whether a page that uses the master may override it and edit it locally. | boolean | true183 | — | 69.1% |
| ItemLayer# The layer it is on. | id | any | — | 40.4% varies in 89 |
| Locked# When true, InDesign won't let the object be selected or edited. It still displays and prints. | boolean | false107 | false | 40.4% |
| FillColor# The swatch that fills the object (for text, its glyphs), by its Self, such as Color/Black. Swatch/None means no fill. | reference to Color and Gradient | any | — | 31.7% varies in 82 |
| CornerRadius# The all-corner size, in points, InDesign writes beside the per-corner radii. It is not read, not even for a per-corner option that has no radius of its own (that corner is 12 pt). | integer or real | any | — | 6.8% varies in 7 |
| TopLeftCornerRadius# The size of the top-left corner's effect, in points; 12 when the corner has an effect and no radius. | integer or real (pt) | 0 or more | 12 | 6.8% varies in 7 |
| FillTint# The fill colour's strength as a percentage, 0–100. -1 means no tint is set, the same as leaving the attribute out. | integer (percent) | 0 to 100 | 100 | 4.5% varies in 9 |
| StrokeTint# The stroke colour's strength as a percentage, 0–100. -1 means no tint is set, the same as leaving the attribute out. | integer | any | — | 4.5% |
| OverprintFill# When true, the fill prints over the inks beneath it instead of knocking them out. | boolean | true10 | false | 3.8% varies in 1 |
| BottomLeftCornerRadius# The size of the bottom-left corner's effect, in points; 12 when the corner has an effect and no radius. | integer or real (pt) | 0 or more | 12 | 2.6% varies in 6 |
| BottomRightCornerRadius# The size of the bottom-right corner's effect, in points; 12 when the corner has an effect and no radius. | integer or real (pt) | 0 or more | 12 | 2.6% varies in 6 |
| TopRightCornerRadius# The size of the top-right corner's effect, in points; 12 when the corner has an effect and no radius. | integer or real (pt) | 0 or more | 12 | 2.6% varies in 6 |
| EndCap# How the open ends of a stroke finish: ButtEndCap (flat at the end point), RoundEndCap, or ProjectingEndCap (squared off half the stroke weight beyond it). | keyword | ButtEndCapRoundEndCap4ProjectingEndCap | ButtEndCap | 1.9% varies in 1 |
| FlexItemHeightMode# | keyword | FlexFixed5 | — | 1.9% |
| FlexItemWidthMode# | keyword | FlexFixed5 | — | 1.9% |
| StrokeType# The stroke style, by its Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/Dashed. | reference to StrokeStyle | StrokeStyle/$ID/SolidStrokeStyle/$ID/DashedStrokeStyle/$ID/DottedStrokeStyle/$ID/Japanese DotsStrokeStyle/$ID/WavyStrokeStyle/$ID/Thick - ThickStrokeStyle/$ID/Thick - ThinStrokeStyle/$ID/Thin - ThickStrokeStyle/$ID/Thin - Thin or a named value | — | 1.9% varies in 4 |
| EndJoin# How the stroke turns at corners: MiterEndJoin (pointed, the default), RoundEndJoin or BevelEndJoin. | keyword | MiterEndJoinRoundEndJoin3BevelEndJoin or a named value | MiterEndJoin | 1.5% varies in 1 |
| StrokeAlignment# Where the stroke sits on the path: centred on it ( CenterAlignment, the default), inside it or outside it. | keyword | CenterAlignmentInsideAlignmentOutsideAlignment or a named value | CenterAlignment | 1.5% varies in 2 |
| TopRightCornerOption# The effect on the top-right corner, in CornerOption's tokens; a bare Rounded or Inset is no effect. With the other three per-corner attributes, this is what InDesign draws. | keyword | NoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 1.1% varies in 1 |
| BottomLeftCornerOption# The effect on the bottom-left corner, in CornerOption's tokens; a bare Rounded or Inset is no effect. With the other three per-corner attributes, this is what InDesign draws. | keyword | NoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 0.8% varies in 1 |
| BottomRightCornerOption# The effect on the bottom-right corner, in CornerOption's tokens; a bare Rounded or Inset is no effect. With the other three per-corner attributes, this is what InDesign draws. | keyword | NoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 0.8% varies in 1 |
| CornerOption# The all-corner effect InDesign writes beside the four per-corner attributes ( None, RoundedCorner, InverseRoundedCorner, InsetCorner, BevelCorner or FancyCorner). InDesign draws corners from the per-corner attributes alone, on page items and object styles: an element that spells its corners only here has square corners. | keyword | any | — | 0.8% varies in 1 |
| TopLeftCornerOption# The effect on the top-left corner, in CornerOption's tokens; a bare Rounded or Inset is no effect. With the other three per-corner attributes, this is what InDesign draws. | keyword | NoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 0.8% varies in 1 |
| ArrowHeadAlignment# Whether arrowheads stop at the path's ends or extend beyond them; every document in the census uses InsidePath. | keyword | any | — | 0.4% |
| GapColor# The swatch painted in the gaps of a dashed, dotted or striped stroke. Swatch/None leaves them transparent. | reference | any | — | 0.4% |
| GapTint# The gap colour's strength as a percentage, 0–100. -1 means no tint is set. | integer (percent) | 0 to 100 | 100 | 0.4% |
| LeftArrowHeadScale# The size of the start arrowhead, as a percentage of its natural size. | integer | any | — | 0.4% |
| LeftLineEnd# The arrowhead at the path's start: None, or one of InDesign's line ends such as TriangleArrowHead. | keyword | NoneSimpleArrowHeadSimpleWideArrowHeadTriangleArrowHeadTriangleWideArrowHeadBarbedArrowHeadCurvedArrowHeadCircleArrowHeadCircleSolidArrowHeadSquareArrowHeadSquareSolidArrowHeadBarArrowHead | None | 0.4% |
| Nonprinting# When true, the object shows on screen but is left out of printing and export. | boolean | any | false | 0.4% |
| RightArrowHeadScale# The size of the end arrowhead, as a percentage of its natural size. | integer | any | — | 0.4% |
| RightLineEnd# The arrowhead at the path's end: None, or one of InDesign's line ends such as TriangleArrowHead. | keyword | NoneSimpleArrowHeadSimpleWideArrowHeadTriangleArrowHeadTriangleWideArrowHeadBarbedArrowHeadCurvedArrowHeadCircleArrowHeadCircleSolidArrowHeadSquareArrowHeadSquareSolidArrowHeadBarArrowHead | None | 0.4% |
Polygon (census of 2026-10-12, 305 documents). Seen in is the share of the 265 documents with a Polygon that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.Evidence
- Observed
- In 265 of 305 documents (86.9%):
MasterSpreads183 andSpreads86. - Census
- Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
- Counts are
- Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
Paged support
What Paged, one implementation of the format, does with Polygon. Nothing in this panel is part of the format; the reference above holds for any reader.
As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.
- Parse
- Reads 39 of the 59 attributes
- Render
- One feature of the capability record names this element (below)
- Edit
- 34 attributes map to a scriptable path for
paged.set - Write
- Writes 35 of the 59 attributes on IDML export
By attribute
In the capability record
| Feature | Parse | Render | Edit | Evidence |
|---|---|---|---|---|
| Page-item kinds (TextFrame, Rectangle, Oval, Polygon, GraphicLine, Group) shipped | yes | yes | — | All linked evidence is passing (3 tests current) |
Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names Polygon.