Skip to main content

Type Alias: LineStyle

LineStyle = "-" | "--" | ":" | "-." | number[]

Defined in: PolylineCollection.ts:17

A style to use to draw lines. The possible options are '-' for a solid line, '--' for a dashed line, ':' for a dotted line, '-.' for a dash-dot line, or you could pass a list of numbers (e.g., [1, 1, 1, 0, 1, 0]) to specify a custom dash scheme.