weasel API - v0.8.0
    Preparing search index...

    Interface ResolvedRun

    interface ResolvedRun {
        fill: FillStyle;
        fontFamily: string;
        fontSize: number;
        fontStyle: "normal" | "italic";
        fontWeight: number;
        letterSpacing: number;
        strikethrough: boolean;
        stroke?: Stroke;
        text: string;
        underline: boolean;
    }
    Index

    Properties

    fill: FillStyle
    fontFamily: string
    fontSize: number
    fontStyle: "normal" | "italic"
    fontWeight: number
    letterSpacing: number

    Extra advance added after each glyph of this run, in world units.

    strikethrough: boolean

    Draw a rule through this run's x-height. Additive over the node style.

    stroke?: Stroke

    Outline over this run's glyphs, or absent for none. Painted only on the outline tier — a distance field has no geometry to stroke.

    text: string
    underline: boolean

    Draw a rule below this run's baseline. Additive over the node style.