DashedStrokePattern
Inherits: StrokePattern
A stroke pattern of alternating dashes and gaps, defined by segments
.
Raises:
-
AssertionError
–If
segments
does not contain at least two items, or has an odd length.
Properties
-
pattern_fit
(PatternFit
) –Determines how this stroke pattern should be fit to a line when their lengths
-
segments
(list[Number]
) –A list of alternating dash and gap lengths, in pixels.
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.