mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Fix FontFileConfig
This commit is contained in:
parent
97e3e67ac6
commit
4de921414b
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue