phaser - v4.0.0-rc.4
    Preparing search index...
    type FontFileConfig = {
        descriptors?: object;
        extension?: string;
        format?: string;
        key: string;
        url?: string;
        xhrSettings?: XHRSettingsObject;
    }
    Index

    Properties

    descriptors?: object

    An optional object containing font descriptors for the Font Face.

    extension?: string

    The default file extension to use if no url is provided.

    format?: string

    The font type. Should be a string, like 'truetype' or 'opentype'.

    key: string

    The key of the file. Must be unique within the Loader.

    url?: string

    The absolute or relative URL to load the file from.

    xhrSettings?: XHRSettingsObject

    Extra XHR Settings specifically for this file.