H.map.SpatialStyle.Options
Type Definition Summary
Options used to initialize a style. If a property is not set, the default value from H.map.SpatialStyle is taken.
[ For full details, see the Type Definition Details ]
Property Summary
Properties |
---|
The color of the stroke in CSS syntax. |
The color of the stroke in CSS syntax. |
The width of the line in pixels, the default is |
The style of the end caps for a line. |
The type of corner created when two lines meet. |
The miter limit in pixels, the default is |
The line dash pattern as an even-numbered list of distances to alternate lines (dashes) and spaces. If the browser does not support this feature this property is ignored. |
The phase offset of the line dash pattern |
Type Definition Description
Options used to initialize a style. If a property is not set, the default value from H.map.SpatialStyle is taken.
Property Details
strokeColor: {string=} [optional]
The color of the stroke in CSS syntax.
fillColor: {string=} [optional]
The color of the stroke in CSS syntax.
lineWidth: {number=} [optional]
The width of the line in pixels, the default is 2
. The maximum supported line width is 100
.
lineCap: {H.map.SpatialStyle.LineCap=} [optional]
The style of the end caps for a line.
lineJoin: {H.map.SpatialStyle.LineJoin=} [optional]
The type of corner created when two lines meet.
miterLimit: {number=} [optional]
The miter limit in pixels, the default is 10
. The maximum supported miter limit is 100
.
lineDash: {Array<number>}
The line dash pattern as an even-numbered list of distances to alternate lines (dashes) and spaces. If the browser does not support this feature this property is ignored.
lineDashOffset: {number=} [optional]
The phase offset of the line dash pattern