Constructor

new ()

Variables

onChange:_Event_Void_Void<Void ‑> Void> = new Event<Void>()

Methods

exists (id:String, type:String):Bool

getAsset (id:String, type:String):Dynamic

getBytes (id:String):Bytes

getFont (id:String):Font

getImage (id:String):Image

getPath (id:String):String

getText (id:String):String

isLocal (id:String, type:String):Bool

list (type:String):Array<String>

loadAsset (id:String, type:String):Future<Dynamic>

loadBytes (id:String):Future<Bytes>

loadFont (id:String):Future<Font>

loadImage (id:String):Future<Image>

loadText (id:String):Future<String>

unload ():Void

Static methods

staticfromBytes (bytes:Bytes, ?rootPath:String):AssetLibrary

staticfromFile (path:String, ?rootPath:String):AssetLibrary

staticloadFromBytes (bytes:Bytes, ?rootPath:String):Future<AssetLibrary>

staticloadFromFile (path:String, ?rootPath:String):Future<AssetLibrary>