MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / getSecondLength

Method getSecondLength

src/main/java/Client/Contact.java:683–691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

681 }
682
683 public int getSecondLength() {
684 if (getSecondString() == null) {
685 return 0;
686 }
687 if (getSecondString().length() == 0) {
688 return 0;
689 }
690 return FontCache.getFont(false, FontCache.baloon).stringWidth(getSecondString());
691 }
692
693 public int getFirstLength() {
694 if (getFirstString() == null) {

Callers 2

getVWidthMethod · 0.95
drawItemMethod · 0.95

Calls 3

getSecondStringMethod · 0.95
getFontMethod · 0.95
stringWidthMethod · 0.65

Tested by

no test coverage detected