meo-skia-canvas
    Preparing search index...

    Interface Font

    One face registered by FontLibrary.use, described as the file it was read from says.

    🧪 Not in the HTML Canvas standard.

    interface Font {
        family: string;
        file: string;
        style: string;
        weight: number;
        width: string;
    }
    Index
    family: string

    The name this face is filed under: the alias where one was given, and the family name the file itself declares otherwise.

    file: string

    Path the face was read from, or the literal "<buffer>" when it was registered from font data rather than a file.

    style: string

    Slant: "normal", "italic", or "oblique".

    weight: number

    CSS numeric weight.

    width: string

    CSS width keyword.