Interface for all properties of a DashedLine.

Hierarchy

Properties

fillStyle: FillStyle

Line fill style.

lineType: "solid" | "dashed"

Stipple pattern that describes the repeating pattern of ON and OFF sections that defines the DashedLine.

See StipplePattern for more information.

Defaults to StipplePatterns.DashedEqual

patternScale: number

Scaling factor for the length of each repeating stipple pattern.

Defaults to 3

thickness: number

Line thickness.

-1 can be used to signify smallest available thickness. With most features, this will result in slightly better GPU performance, but less detailed line.

Default value: 1.

type: "linestyle"