patterns property

List<PatternItem> patterns
final

The stroke pattern for the polyline.

Solid or a sequence of PatternItem objects to be repeated along the line. Available PatternItem types: Gap (defined by gap length in pixels), Dash (defined by line width and dash length in pixels) and Dot (circular, centered on the line, diameter defined by line width in pixels).

Note: It is not possible to have a mix of dots and dashes.

Implementation

final List<PatternItem> patterns;