v5.0.0
    Preparing search index...

    Interface FontInfo

    interface FontInfo {
        family?: string;
        size?: string | number;
        style?: string;
        weight?: string | number;
    }
    Index

    Properties

    family?: string

    CSS font-family, e.g., 'Arial', 'Helvetica Neue, Arial, sans-serif', 'Times, serif'

    size?: string | number

    CSS font-size (e.g., '10pt', '12px'). For backwards compatibility with 3.0.9, plain numbers are assumed to be specified in 'pt'.

    style?: string

    italic as inspired by CSS font-style.

    weight?: string | number

    bold or a number (e.g., 900) as inspired by CSS font-weight.