Type Alias StrokeOpts

StrokeOpts: {
    strokeDash?: string;
    strokeLineCap?: "butt" | "round" | "square";
    strokeStyle?: string;
    strokeWidth?: number;
}

Type declaration

  • Optional ReadonlystrokeDash?: string

    Stroke dash pattern, eg 5

  • Optional ReadonlystrokeLineCap?: "butt" | "round" | "square"

    Line cap

  • Optional ReadonlystrokeStyle?: string

    Style for lines. Eg white.

    stroke

  • Optional ReadonlystrokeWidth?: number

    Width of stroke, eg 2