Optional ReadonlycapThe shape of the line's ends and of the ends of each dash
Optional ReadonlycolorA 6-digit hex colour such as "FF0000", or a colour of the document's theme such as { theme: "accent1" }. Default is "000000"
Optional ReadonlycompoundDraws the line as two or three parallel lines within its width. Default is "single"
Optional ReadonlydashA preset dash pattern, or dashes and gaps of your own. Default is a solid line
Optional ReadonlyendArrowhead at the end of the line
Optional ReadonlygradientColours the line with a gradient instead of color
Optional ReadonlyjoinThe shape of the corners where the line turns
Optional ReadonlystartArrowhead at the start of the line
Optional ReadonlytransparencyFrom 0 (opaque) to 100 (invisible)
Optional ReadonlywidthLine width in points, from 0 to 1584. Default is 1
Line options for a shape.
Public Api