| Modifier | Constructor and Description |
|---|---|
protected |
GDXTexture(com.badlogic.gdx.graphics.Texture texture) |
protected |
GDXTexture(com.badlogic.gdx.graphics.Texture texture,
Rect bounds) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
int |
getHeight() |
Image |
getRegion(Rect region)
Returns an
Image instance that only contains the specified
region from within this image. |
com.badlogic.gdx.graphics.Texture |
getTexture() |
com.badlogic.gdx.graphics.g2d.TextureRegion |
getTextureRegion() |
int |
getWidth() |
protected GDXTexture(com.badlogic.gdx.graphics.Texture texture,
Rect bounds)
protected GDXTexture(com.badlogic.gdx.graphics.Texture texture)
public com.badlogic.gdx.graphics.Texture getTexture()
public com.badlogic.gdx.graphics.g2d.TextureRegion getTextureRegion()
public Image getRegion(Rect region)
ImageImage instance that only contains the specified
region from within this image.public void dispose()