(TextureRegion image, float x, float y, float w, float h, float rotation, boolean flipX, boolean flipY)
| 1412 | } |
| 1413 | |
| 1414 | public void drawImageWithTransforms(TextureRegion image, float x, float y, float w, float h, float rotation, boolean flipX, boolean flipY) { |
| 1415 | float originX = x + w / 2; |
| 1416 | float originY = y + h / 2; |
| 1417 | batch.draw(image.getTexture(), adjustX(x), adjustY(y, h), originX - x, h - (originY - y), w, h, 1, 1, rotation, image.getRegionX(), image.getRegionY(), image.getRegionWidth(), image.getRegionHeight(), flipX, flipY); |
| 1418 | } |
| 1419 | |
| 1420 | public void setProjectionMatrix(Matrix4 matrix) { |
| 1421 | batch.setProjectionMatrix(matrix); |
nothing calls this directly
no test coverage detected