Fix FontFileConfig

This commit is contained in:
samme 2024-11-15 11:51:15 -08:00
parent 97e3e67ac6
commit 4de921414b

View file

@ -3,7 +3,8 @@
*
* @property {string} key - The key of the file. Must be unique within the Loader.
* @property {string} [url] - The absolute or relative URL to load the file from.
* @property {string} [extension='js'] - The default file extension to use if no url is provided.
* @property {string} [type='script'] - The script type. Should be either 'script' for classic JavaScript, or 'module' if the file contains an exported module.
* @property {string} [extension='ttf'] - The default file extension to use if no url is provided.
* @property {string} [format='truetype'] - The font type. Should be a string, like 'truetype' or 'opentype'.
* @property {object} [descriptors] - An optional object containing font descriptors for the Font Face.
* @property {Phaser.Types.Loader.XHRSettingsObject} [xhrSettings] - Extra XHR Settings specifically for this file.
*/