mirror of
https://github.com/photonstorm/phaser
synced 2024-12-30 06:53:07 +00:00
1 line
2.1 KiB
JSON
1 line
2.1 KiB
JSON
|
{"class":{"name":"PIXI.BitmapFontLoader","extends":"","static":false,"constructor":true,"parameters":[{"name":"url","type":["string"],"help":"The url of the sprite sheet JSON file","optional":false,"default":null},{"name":"crossorigin","type":["boolean"],"help":"Whether requests should be treated as crossorigin","optional":false,"default":null}],"help":"The xml loader is used to load in XML bitmap font data ('xml' or 'fnt')\\nTo generate the data you can use http:\/\/www.angelcode.com\/products\/bmfont\/\\nThis loader will also load the image file as the data.\\nWhen loaded this class will dispatch a 'loaded' event"},"consts":[],"methods":{"public":[{"name":"load","static":false,"returns":null,"help":"Loads the XML font data","line":62,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[{"name":"onLoaded","static":false,"returns":null,"help":"Invoked when all files are loaded (xml\/fnt and texture)","line":158,"public":false,"protected":false,"private":true,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"onXMLLoaded","static":false,"returns":null,"help":"Invoked when the XML file is loaded, parses the data.","line":78,"public":false,"protected":false,"private":true,"parameters":[],"inherited":false,"inheritedFrom":""}],"static":[]},"properties":{"public":[{"name":"baseUrl","type":["string"],"help":"[read-only] The base url of the bitmap font data","inlineHelp":"","line":42,"default":null,"public":true,"protected":false,"private":false,"readOnly":true},{"name":"crossorigin","type":["boolean"],"help":"Whether the requests should be treated as cross origin","inlineHelp":"","line":33,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"texture","type":["PIXI.Texture"],"help":"[read-only] The texture of the bitmap font","inlineHelp":"","line":50,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"url","type":["string"],"help":"The url of the bitmap font data","inlineHelp":"","line":25,"default":null,"public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}
|