Interface Stroke

Hierarchy

  • Stroke

Properties

color: string | number[]

The color.

lineCap: CanvasLineCap

Line cap style: butt, round, or square.

lineDash: number[]

Line dash pattern. Default is null (no dash). Please note that Internet Explorer 10 and lower do not support the setLineDash method on the CanvasRenderingContext2D and therefore this option will have no visual effect in these browsers.

lineDashOffset: number

Line dash offset.

lineJoin: CanvasLineJoin

Line join style: bevel, round, or miter.

miterLimit: number

Miter limit.

width: number

Width.

Generated using TypeDoc