MCPcopy Create free account
hub / github.com/Card-Forge/forge / drawRotatedImage

Method drawRotatedImage

forge-gui-mobile/src/forge/Graphics.java:1448–1450  ·  view source on GitHub ↗
(Texture image, float x, float y, float w, float h, float originX, float originY, float rotation)

Source from the content-addressed store, hash-verified

1446 }
1447
1448 public void drawRotatedImage(Texture image, float x, float y, float w, float h, float originX, float originY, float rotation) {
1449 drawRotatedImage(image, x, y, w, h, originX, originY, 0, 0, image.getWidth(), image.getHeight(), rotation);
1450 }
1451
1452 public void drawRotatedImage(TextureRegion image, float x, float y, float w, float h, float originX, float originY, float rotation) {
1453 drawRotatedImage(image.getTexture(), x, y, w, h, originX, originY, image.getRegionX(), image.getRegionY(), image.getRegionWidth(), image.getRegionHeight(), rotation);

Callers 11

drawFoilMethod · 0.95
drawCardRoundRectMethod · 0.95
drawMethod · 0.80
drawRotatedMethod · 0.80
drawCardListItemMethod · 0.80
drawCardMethod · 0.80
drawAbilityIconsMethod · 0.80
drawSplitCardMethod · 0.80
drawFlipCardMethod · 0.80
drawZoomMethod · 0.80
drawOtherMethod · 0.80

Calls 8

adjustXMethod · 0.95
adjustYMethod · 0.95
getWidthMethod · 0.65
getHeightMethod · 0.65
drawMethod · 0.65
getTextureMethod · 0.45
getRegionXMethod · 0.45
getRegionYMethod · 0.45

Tested by

no test coverage detected