| Package | dragonBones.textures |
| Class | public class StarlingTextureAtlas |
| Inheritance | StarlingTextureAtlas starling.textures.TextureAtlas |
| Implements | ITextureAtlas |
| Property | Defined By | ||
|---|---|---|---|
| name : String [read-only]
The name of this StarlingTextureAtlas instance. | StarlingTextureAtlas | ||
| Method | Defined By | ||
|---|---|---|---|
StarlingTextureAtlas(texture:Texture, textureAtlasXML:XML, isDifferentXML:Boolean = false)
Creates a new StarlingTextureAtlas instance. | StarlingTextureAtlas | ||
dispose():void [override]
Clean up all resources used by this StarlingTextureAtlas instance. | StarlingTextureAtlas | ||
getTexture(name:String):Texture [override]
Get the Texture with that name. | StarlingTextureAtlas | ||
| _bitmapData | property |
dragonBones_internal var _bitmapData:BitmapData| name | property |
name:String [read-only] The name of this StarlingTextureAtlas instance.
public function get name():String| StarlingTextureAtlas | () | Constructor |
public function StarlingTextureAtlas(texture:Texture, textureAtlasXML:XML, isDifferentXML:Boolean = false)Creates a new StarlingTextureAtlas instance.
Parameterstexture:Texture — A texture instance.
| |
textureAtlasXML:XML — A textureAtlas xml
| |
isDifferentXML:Boolean (default = false) |
| dispose | () | method |
override public function dispose():voidClean up all resources used by this StarlingTextureAtlas instance.
| getTexture | () | method |
override public function getTexture(name:String):TextureGet the Texture with that name.
Parameters
name:String — The name ofthe Texture instance.
|
Texture — The Texture instance.
|