Interface DecorationOpts

    interface DecorationOpts {
        gap?: number;
        stroke?: string;
        weight?: number;
    }
    Index

    Properties

    Properties

    gap?: number

    Pad between the part's bounds and the decoration. Default per decoration (see tokens.decoration).

    stroke?: string

    Stroke color. Default: tokens.stroke.

    weight?: number

    Stroke width. Default: tokens.thinWeight.