PackagedragonBones.textures
Classpublic class StarlingTextureAtlas
InheritanceStarlingTextureAtlas Inheritance starling.textures.TextureAtlas
Implements ITextureAtlas

The StarlingTextureAtlas creates and manipulates TextureAtlas from starling.display.DisplayObject.



Public Properties
 PropertyDefined By
  name : String
[read-only] The name of this StarlingTextureAtlas instance.
StarlingTextureAtlas
Public Methods
 MethodDefined 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
Property Detail
_bitmapDataproperty
dragonBones_internal var _bitmapData:BitmapData

nameproperty 
name:String  [read-only]

The name of this StarlingTextureAtlas instance.


Implementation
    public function get name():String
Constructor Detail
StarlingTextureAtlas()Constructor
public function StarlingTextureAtlas(texture:Texture, textureAtlasXML:XML, isDifferentXML:Boolean = false)

Creates a new StarlingTextureAtlas instance.

Parameters
texture:Texture — A texture instance.
 
textureAtlasXML:XML — A textureAtlas xml
 
isDifferentXML:Boolean (default = false)
Method Detail
dispose()method
override public function dispose():void

Clean up all resources used by this StarlingTextureAtlas instance.

getTexture()method 
override public function getTexture(name:String):Texture

Get the Texture with that name.

Parameters

name:String — The name ofthe Texture instance.

Returns
Texture — The Texture instance.