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

Method getWidth

forge-gui-mobile/src/forge/card/CardImage.java:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 }
21
22 @Override
23 public float getWidth() {
24 if (image != null) {
25 return image.getWidth();
26 }
27 return ImageCache.getInstance().getDefaultImage().getWidth();
28 }
29
30 @Override
31 public float getHeight() {

Callers 1

getHeightMethod · 0.95

Calls 3

getInstanceMethod · 0.95
getWidthMethod · 0.65
getDefaultImageMethod · 0.45

Tested by

no test coverage detected