Line
Property | Type | Default |
---|---|---|
name | StrV | "defaultLine" |
strokeWidth | FloatV | 1 |
strokeStyle | StrV | "solid" |
strokeColor | ColorV | |
strokeDasharray | StrV | "" |
startArrowheadSize | FloatV | 1 |
startArrowhead | StrV | "none" |
flipStartArrowhead | BoolV | false |
endArrowheadSize | FloatV | 1 |
endArrowhead | StrV | "none" |
strokeLinecap | StrV | "" |
ensureOnCanvas | BoolV | true |
fillColor | ColorV | none() |
start | VectorV | sampled |
end | VectorV | sampled |
The Line
shape allows a few styles of arrowheads arrowhead styles inspired by quiver. The arrowhead styles are given by startArrowhead
and endArrowhead
. The example below shows all the supported options: