FontParser should parse Fonts into TesselatedFontTable for usage with webGL, or just load the Font as css class for usage with canvas and no webGL
Creates a new TextureAtlasParser object.
The data format of the file data to be parsed. Options are
A list of dependencies that need to be loaded and resolved for the object being parsed.
proceedParsing to indicate more parsing is needed, allowing asynchronous parsing.
proceedParsing to indicate no more parsing is needed.
Resolve a dependency name
The dependency to be resolved.
Finish parsing the data.
Tests whether or not there is still time left for parsing within the maximum allowed time frame per session.
True if there is still time left, false if the maximum allotted time was exceeded and parsing should be interrupted.
Called when the parsing pause interval has passed and parsing can proceed.
Initializes the parsing of data.
The maximum duration of a parsing session.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Parse data (possibly containing bytearry, plain text or BitmapAsset) asynchronously, meaning that the parser will periodically stop parsing so that the AVM may proceed to the next frame.
The untyped data object in which the loaded data resides.
number of milliseconds of parsing allowed per frame. The actual time spent on a frame can exceed this number since time-checks can only be performed between logical sections of the parsing procedure.
Remove an event listener
Tests whether a data block can be parsed by the parser.
The data block to potentially be parsed.
Whether or not the given data is supported.
Indicates whether or not a given file extension is supported by the parser.
The file extension of a potential file to be parsed.
Whether or not the given file type is supported.
Generated using TypeDoc