DottedStrokePattern
Inherits: StrokePattern
A stroke pattern of circular dots, spaced with spacing_factor
.
Raises:
-
AssertionError
–If
spacing_factor
is negative.
Properties
-
pattern_fit
(PatternFit
) –Determines how this stroke pattern should be fit to a line when their
-
spacing_factor
(Number
) –The multiplier used to calculate the spacing between dots in a dotted polyline,
Properties#
pattern_fit
#
pattern_fit: PatternFit = SCALE_UP
Determines how this stroke pattern should be fit to a line when their lengths are not equal or multiples.
spacing_factor
#
spacing_factor: Number = 1.5
The multiplier used to calculate the spacing between dots in a dotted polyline,
with respect to Polyline.stroke_width
/ Polygon.border_stroke_width
.
A value of 1.0
will result in spacing equal to the stroke_width
.
Increasing the value increases the spacing with the same scaling.
May also be scaled by the use of PatternFit.SCALE_UP
.
Note
Must be non-negative.