PolygonToolSettings
Properties
color
color:
string
The color of the element in some CSS-like format.
Example
Default
strokeOpacity
strokeOpacity:
number
A value between 0 and 1 that describes the opacity of the element's stroke.
Default
strokeWidth
strokeWidth:
number
The width of the element's stroke in pixels.
Default
strokeStyle
strokeStyle:
"solid"
|"dashed"
|"dotted"
The style of the element's stroke.
Default
fillOpacity
fillOpacity:
number
The opacity of the polygon's fill, between 0 and 1.
Default
areaMarker
areaMarker:
boolean
Whether to show an area marker on the polygon.
Default
Last updated
Was this helpful?