pixi.js
    Preparing search index...

    Type Alias LoadFontDataAdvanced

    Data for loading a font

    type LoadFontData = {
        display: string;
        family: string;
        featureSettings: string;
        stretch: string;
        style: string;
        unicodeRange: string;
        variant: string;
        weights: string[];
    }
    Index

    Properties

    display: string

    A set of optional descriptors passed as an object. It can contain any of the descriptors available for @font-face:

    family: string

    Font family name

    featureSettings: string

    The featureSettings property of the FontFace interface retrieves or sets infrequently used font features that are not available from a font's variant properties.

    stretch: string

    The stretch property of the FontFace interface retrieves or sets how the font stretches.

    style: string

    The style property of the FontFace interface retrieves or sets the font's style.

    unicodeRange: string

    The unicodeRange property of the FontFace interface retrieves or sets the range of unicode code points encompassing the font.

    variant: string

    The variant property of the FontFace interface programmatically retrieves or sets font variant values.

    weights: string[]

    The weight property of the FontFace interface retrieves or sets the weight of the font.