Skip to content

Line

PropertyTypeDefault
nameStrV"defaultLine"
strokeWidthFloatV1
strokeStyleStrV"solid"
strokeColorColorV
    
rgba(0,0,0,1)
strokeDasharrayStrV""
startArrowheadSizeFloatV1
startArrowheadStrV"none"
flipStartArrowheadBoolVfalse
endArrowheadSizeFloatV1
endArrowheadStrV"none"
strokeLinecapStrV""
ensureOnCanvasBoolVtrue
fillColorColorVnone()
startVectorVsampled
endVectorVsampled

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:

Released under the MIT License.