PackagedragonBones.textures
Interfacepublic interface ITextureAtlas
Implementors NativeTextureAtlas, StarlingTextureAtlas

The ITextureAtlas interface defines the methods used by all ITextureAtlas within the dragonBones system (flash or starling DisplayObject based).

See also

dragonBones.Armature
dragonBones.animation.WorldClock


Public Properties
 PropertyDefined By
  name : String
[read-only] The name of this ITextureAtlas.
ITextureAtlas
Public Methods
 MethodDefined By
  
dispose():void
Clean up resources.
ITextureAtlas
  
getRegion(name:String):Rectangle
Get the specific region of the TextureAtlas occupied by assets defined by that name.
ITextureAtlas
Property Detail
nameproperty
name:String  [read-only]

The name of this ITextureAtlas.


Implementation
    public function get name():String
Method Detail
dispose()method
public function dispose():void

Clean up resources.

getRegion()method 
public function getRegion(name:String):Rectangle

Get the specific region of the TextureAtlas occupied by assets defined by that name.

Parameters

name:String — The name of the assets represented by that name.

Returns
Rectangle — Rectangle The rectangle area occupied by those assets.