Documentation
    Preparing search index...

    Interface ResolvedStrokeStyle

    A StrokeStyle with every optional field except paint and dash resolved — what a shape stores and hands back (see ResolvedPaint for why the accessor has two types).

    paint and dash stay optional because their absence means something — no paint of its own, and a solid rather than a dashed band — rather than standing in for a default value.

    interface ResolvedStrokeStyle {
        alignment: StrokeAlignment;
        dash?: readonly number[];
        dashOffset: number;
        lineCap: StrokeLineCap;
        lineJoin: StrokeLineJoin;
        miterLimit: number;
        paint?: ResolvedPaint;
        width: number;
    }
    Index
    alignment: StrokeAlignment
    dash?: readonly number[]

    See StrokeStyle.dash; a copy of the authored pattern.

    dashOffset: number
    lineCap: StrokeLineCap
    lineJoin: StrokeLineJoin
    miterLimit: number
    width: number