Interface StrokeStyle

Hierarchy

  • StrokeStyle

Properties

color?: string

Color of the stroke in hex format.

Default Value

`"#000000"'

dasharray?: string

Pattern of dashes and gaps used for the stroke e.g. "2,2"

Default Value

""

dashoffset?: number

Offset to use before starting dash-array

Default Value

0

linecap?: "square" | "butt" | "round"

Shape to be used at the ends of stroke

Default Value

"butt"

linejoin?: "round" | "bevel" | "miter" | "arcs" | "miter-clip"

Shape to use at the corners of stroke

Default Value

"miter"

opacity?: number

Opacity of the stroke

Default Value

1

width?: number

Width of the stroke

Default Value

1

Generated using TypeDoc