| Package | Description |
|---|---|
| com.badlogic.gdx.graphics.g2d |
| Modifier and Type | Method and Description |
|---|---|
TextureAtlas.AtlasRegion |
TextureAtlas.addRegion(java.lang.String name,
Texture texture,
int x,
int y,
int width,
int height)
Adds a region to the atlas.
|
TextureAtlas.AtlasRegion |
TextureAtlas.addRegion(java.lang.String name,
TextureRegion textureRegion)
Adds a region to the atlas.
|
TextureAtlas.AtlasRegion |
TextureAtlas.findRegion(java.lang.String name)
Returns the first region found with the specified name.
|
TextureAtlas.AtlasRegion |
TextureAtlas.findRegion(java.lang.String name,
int index)
Returns the first region found with the specified name and index.
|
TextureAtlas.AtlasRegion |
TextureAtlas.AtlasSprite.getAtlasRegion() |
| Modifier and Type | Method and Description |
|---|---|
Array<TextureAtlas.AtlasRegion> |
TextureAtlas.findRegions(java.lang.String name)
Returns all regions with the specified name, ordered by smallest to largest
index. |
Array<TextureAtlas.AtlasRegion> |
TextureAtlas.getRegions()
Returns all regions in the atlas.
|
| Constructor and Description |
|---|
AtlasRegion(TextureAtlas.AtlasRegion region) |
AtlasSprite(TextureAtlas.AtlasRegion region) |