TextureRegion.
| Modifier and Type | Field and Description |
|---|---|
| private TextureRegion |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | draw(Batch batch, float x, float y, float width, float height)
Overrides com. Implements com. Draws this drawable at the specified bounds. |
| public void | draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)
Implements com.
|
| public TextureRegion | |
| public void | |
| public Drawable |
| region | back to summary |
|---|---|
| private TextureRegion region | |
| TextureRegionDrawable | back to summary |
|---|---|
| public TextureRegionDrawable() Creates an uninitialized TextureRegionDrawable. The texture region must be set before use. | |
| TextureRegionDrawable | back to summary |
|---|---|
| public TextureRegionDrawable(Texture texture) | |
| TextureRegionDrawable | back to summary |
|---|---|
| public TextureRegionDrawable(TextureRegion region) | |
| TextureRegionDrawable | back to summary |
|---|---|
| public TextureRegionDrawable(TextureRegionDrawable drawable) | |
| draw | back to summary |
|---|---|
| public void draw(Batch batch, float x, float y, float width, float height) Overrides com. Implements com. Doc from com. Draws this drawable at the specified bounds. The drawable should be tinted with | |
| draw | back to summary |
|---|---|
| public void draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation) Implements com. | |
| getRegion | back to summary |
|---|---|
| public TextureRegion getRegion() | |
| setRegion | back to summary |
|---|---|
| public void setRegion(TextureRegion region) | |
| tint | back to summary |
|---|---|
| public Drawable tint(Color tint) Creates a new drawable that renders the same as this drawable tinted the specified color. | |