Home | History | Annotate | Download | only in utils

Lines Matching refs:Batch

21 import com.badlogic.gdx.graphics.g2d.Batch;

41 public void draw (Batch batch, float x, float y, float width, float height) {
42 float batchColor = batch.getPackedColor();
43 batch.setColor(batch.getColor().mul(color));
54 batch.draw(region, x, y, regionWidth, regionHeight);
68 batch.draw(texture, x, y, remainingX, regionHeight, u, v2, u2, v);
74 batch.draw(texture, x, y, remainingX, remainingY, u, v2, u2, v);
83 batch.draw(texture, x, y, regionWidth, remainingY, u, v2, u2, v);
88 batch.setColor(batchColor);