Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Stroke<>

Type parameters

    Hierarchy

    • Stroke

    Index

    Properties

    color

    color: string | number[]

    The color.

    lineCap

    lineCap: CanvasLineCap

    Line cap style: butt, round, or square.

    lineDash

    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

    lineDashOffset: number

    Line dash offset.

    lineJoin

    lineJoin: CanvasLineJoin

    Line join style: bevel, round, or miter.

    miterLimit

    miterLimit: number

    Miter limit.

    width

    width: number

    Width.

    Generated using TypeDoc