Line
type Line = { align?: LineAlignment; cap?: LineCapType; cmpd?: LineCompoundType; fill?: | PatternFill | SolidFill | GradientLinearFill | GradientPathFill | NoFill; head?: LineEnd; join?: LineJoinType; style?: | LineStyle | DashStop[]; tail?: LineEnd; width?: PositiveCoordinate;};Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
align? |
LineAlignment |
"ctr" |
Line alignment relative to the shape path (centered on path or inset) |
cap? |
LineCapType |
"flat" |
Line cap style determining how line endpoints are rendered. |
cmpd? |
LineCompoundType |
undefined |
Compound line type for creating multi-stroke effects. |
fill? |
| PatternFill | SolidFill | GradientLinearFill | GradientPathFill | NoFill |
undefined |
Fill style applied to the line stroke. |
head? |
LineEnd |
undefined |
Arrow or decoration at the start of the line. |
join? |
LineJoinType |
"miter" |
Line join style determining how line segment connections are rendered. |
style? |
| LineStyle | DashStop[] |
undefined |
Line dash/dot pattern style. |
tail? |
LineEnd |
undefined |
Arrow or decoration type at the end of the line. |
width? |
PositiveCoordinate |
undefined |
Line width in EMUs. Min 0 Max 20116800 |