| Package | dragonBones.textures |
| Interface | public interface ITextureAtlas |
| Implementors | NativeTextureAtlas, StarlingTextureAtlas |
See also
| Property | Defined By | ||
|---|---|---|---|
| name : String [read-only]
The name of this ITextureAtlas. | ITextureAtlas | ||
| Method | Defined 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 | ||
| name | property |
name:String [read-only] The name of this ITextureAtlas.
public function get name():String| dispose | () | method |
public function dispose():voidClean up resources.
| getRegion | () | method |
public function getRegion(name:String):RectangleGet 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.
|
Rectangle — Rectangle The rectangle area occupied by those assets.
|