API reference / Common / Engine types / PaintLine
Interface: PaintLine
A line outline (a:ln, CT_LineProperties). Every field is optional so a partial override (just a width, just a dash) round-trips faithfully.
Properties
| Property | Description |
|---|---|
widthnumber | null | @w — width in points (converted from EMU at import). |
capPaintLineCap | null | @cap — end-cap style. |
compoundPaintCompoundLine | null | @cmpd — compound (multi-stroke) line type. |
alignPaintPenAlignment | null | @algn — pen alignment relative to the path. |
fillPaintFill | null | The stroke paint — the EG_LineFillProperties choice (a:noFill / a:solidFill / a:gradFill / a:pattFill). |
dashPaintLineDash | null | The dash pattern — the EG_LineDashProperties choice (a:prstDash / a:custDash). |
joinPaintLineJoin | null | The corner join — the EG_LineJoinProperties choice (a:round / a:bevel / a:miter). |
headEndPaintLineEnd | null | a:headEnd — start arrowhead. |
tailEndPaintLineEnd | null | a:tailEnd — end arrowhead. |