<GraphicLine> / Element reference
GraphicLine
The GraphicLine element in IDML: where it appears (Spreads), its 51 attributes, their values, and how real documents use them.
Definition
A straight or curved open path.
- Lives in
Spreads76 andMasterSpreads20- Frequency
- In 79 of the 305 documents of the census (25.9%), 2026-10-12
- Attributes
- 51 observed, 24 of them vary between documents
- Discussed in
- Frames & paths, Content parts, Glossary, Groups, ItemTransform and Layout model
Structure
Relationships
GraphicLine 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 |
|---|---|---|---|---|
| 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 | — | 100% varies in 24 |
| ContentType# What the frame is meant to hold: TextType, GraphicType or Unassigned. | keyword | Unassigned79 | — | 100% |
| GradientFillAngle# The direction of a linear gradient fill, in degrees. Used when the fill is a gradient. | integer | any | — | 100% varies in 1 |
| GradientFillHiliteAngle# | integer | any | — | 100% |
| GradientFillHiliteLength# | integer | any | — | 100% |
| 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 | any | — | 100% varies in 4 |
| GradientFillStart# Where a gradient fill starts, as x y in the object's own coordinates. | list of numbers | any | — | 100% varies in 4 |
| GradientStrokeAngle# The direction of a linear gradient stroke, in degrees. Used when the stroke is a gradient. | integer | any | — | 100% varies in 1 |
| GradientStrokeHiliteAngle# | integer | any | — | 100% |
| GradientStrokeHiliteLength# | integer | any | — | 100% |
| 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 | any | — | 100% varies in 4 |
| GradientStrokeStart# Where a gradient stroke starts, as x y in the object's own coordinates. | list of numbers | any | — | 100% varies in 4 |
| 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 75 |
| LocalDisplaySetting# How InDesign draws this object on screen, overriding the view's display setting. It has no effect on output. | keyword | Default79 | — | 100% |
| 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 79 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | id | any | — | 100% varies in 79 |
| 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.7% |
| LastUpdatedInterfaceChangeCount# | — | any | — | 98.7% |
| LockState# | keyword | None78 | — | 98.7% |
| Name# The name InDesign shows for the object in its panels. References between objects use Self, never the name. | builtin | any | — | 98.7% |
| OverriddenPageItemProps# InDesign's bookkeeping of which properties were edited after a master item was overridden; nothing drawn depends on it. | — | any | — | 98.7% |
| ParentInterfaceChangeCount# | — | any | — | 98.7% |
| TargetInterfaceChangeCount# | — | any | — | 98.7% |
| VerticalLayoutConstraints# For liquid page rules: three tokens for the space above, the height and the space below, each FixedDimension or FlexibleDimension. | text | any | — | 98.7% |
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 | true78 | true | 98.7% |
| ItemLayer# The layer it is on. | id | any | — | 96.2% varies in 66 |
| Locked# When true, InDesign won't let the object be selected or edited. It still displays and prints. | boolean | false76 | false | 96.2% |
| StrokeColor# The swatch the stroke is painted with, by its Self. Swatch/None means no stroke. | reference to Color and Swatch | any | — | 91.1% varies in 65 |
| StrokeWeight# The stroke's thickness, in points. | integer or real (pt) | 0 or more | 1 | 91.1% varies in 58 |
| AllowOverrides# On a master page item: whether a page that uses the master may override it and edit it locally. | boolean | true20 | — | 25.3% |
| 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 Swatch | any | — | 25.3% varies in 18 |
| 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 | 19% varies in 1 |
| 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 | — | 15.2% varies in 11 |
| 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 | — | 11.4% varies in 7 |
| 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 | ButtEndCapRoundEndCap8ProjectingEndCap | ButtEndCap | 10.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 | 6.3% varies in 3 |
| 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 | 6.3% varies in 3 |
| 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.3% varies in 3 |
| RightLineEnd# The arrowhead at the path's end: None, or one of InDesign's line ends such as TriangleArrowHead. | keyword | NoneSimpleArrowHeadSimpleWideArrowHeadTriangleArrowHeadTriangleWideArrowHeadBarbedArrowHeadCurvedArrowHeadCircleArrowHeadCircleSolidArrowHeadSquareArrowHeadSquareSolidArrowHeadBarArrowHead | None | 6.3% varies in 4 |
| 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.3% varies in 3 |
| 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 | 6.3% varies in 3 |
| FlexItemHeightMode# | keyword | FlexFixed4 | — | 5.1% |
| FlexItemWidthMode# | keyword | FlexFixed4 | — | 5.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 | NoneRoundedCorner3InverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 3.8% |
| 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 | 2.5% |
| 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 | — | 2.5% |
| EndJoin# How the stroke turns at corners: MiterEndJoin (pointed, the default), RoundEndJoin or BevelEndJoin. | keyword | MiterEndJoinRoundEndJoinBevelEndJoin or a named value | MiterEndJoin | 2.5% |
| 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 | any | — | 2.5% varies in 1 |
| LeftLineEnd# The arrowhead at the path's start: None, or one of InDesign's line ends such as TriangleArrowHead. | keyword | NoneSimpleArrowHeadSimpleWideArrowHeadTriangleArrowHeadTriangleWideArrowHeadBarbedArrowHeadCurvedArrowHeadCircleArrowHeadCircleSolidArrowHeadSquareArrowHeadSquareSolidArrowHeadBarArrowHead | None | 2.5% |
| 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 | 2.5% |
| 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 | 2.5% |
GraphicLine (census of 2026-10-12, 305 documents). Seen in is the share of the 79 documents with a GraphicLine 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 79 of 305 documents (25.9%):
Spreads76 andMasterSpreads20. - 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 GraphicLine. 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 32 of the 51 attributes
- Render
- 3 features of the capability record name this element (below)
- Edit
- 22 attributes map to a scriptable path for
paged.set - Write
- Writes 32 of the 51 attributes on IDML export
By attribute
In the capability record
| Feature | Parse | Render | Edit | Evidence |
|---|---|---|---|---|
| GraphicLine arrowheads (triangle/circle/bar) shipped | yes | yes | — | All linked evidence is passing (4 tests current) |
| Insert line (two-anchor open GraphicLine) shipped | — | — | yes | All linked evidence is passing (19 tests current) |
| 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 GraphicLine.