LineToolSettings
Properties
color
color:
string
The color of the element in some CSS-like format.
Example
"#ABC123";
"rgb(255, 0, 0)";
"hsl(200, 100%, 50%)";Default
"#C93535"strokeOpacity
strokeOpacity:
number
A value between 0 and 1 that describes the opacity of the element's stroke.
Default
1strokeWidth
strokeWidth:
number
The width of the element's stroke in pixels.
Default
2strokeStyle
strokeStyle:
"solid"|"dashed"|"dotted"
The style of the element's stroke.
Default
"solid"distanceMarker
distanceMarker:
boolean
Whether a distance marker is shown at the midpoint of the path.
Default
falseshowInspector
showInspector:
boolean
Whether to show the tool inspector.
Default Value
false
Last updated
Was this helpful?