OptionalcapThe ends.
OptionalcompoundSingle or several lines.
OptionaldashThe ECMA-376 dash name.
OptionalendsThe arrowheads: both ends are replaced, and an end not given is removed.
Optionalfillnone, solid or gradient; fromStyle removes the whole explicit outline.
OptionaljoinThe joins.
OptionalwidthThe width, 0 to 1584.
setShapeLine's change; what isn't given is kept.