TextureRegion repeatedly to fill the area, instead of stretching it.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final Color | |
| private float |
| Access | Constructor and Description |
|---|---|
| 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 static void | draw(Batch batch, TextureRegion textureRegion, float x, float y, float width, float height, float scale, int align)
|
| public void | draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)
Overrides com. Implements com.
|
| public int | |
| public Color | |
| public float | |
| public void | |
| public void | |
| public TiledDrawable | tint(Color tint)
Overrides com. Creates a new drawable that renders the same as this drawable tinted the specified color. |
| align | back to summary |
|---|---|
| private int align | |
| color | back to summary |
|---|---|
| private final Color color | |
| scale | back to summary |
|---|---|
| private float scale | |
| TiledDrawable | back to summary |
|---|---|
| public TiledDrawable() | |
| TiledDrawable | back to summary |
|---|---|
| public TiledDrawable(TextureRegion region) | |
| TiledDrawable | back to summary |
|---|---|
| public TiledDrawable(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 static void draw(Batch batch, TextureRegion textureRegion, float x, float y, float width, float height, float scale, int align) | |
| 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) Overrides com. Implements com. | |
| getAlign | back to summary |
|---|---|
| public int getAlign() | |
| getColor | back to summary |
|---|---|
| public Color getColor() | |
| getScale | back to summary |
|---|---|
| public float getScale() | |
| setAlign | back to summary |
|---|---|
| public void setAlign(int align) | |
| setScale | back to summary |
|---|---|
| public void setScale(float scale) | |
| tint | back to summary |
|---|---|
| public TiledDrawable tint(Color tint) Overrides com. Doc from com. Creates a new drawable that renders the same as this drawable tinted the specified color. | |