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

Method getLineHeight

forge-gui-mobile/src/forge/assets/FSkinFont.java:317–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315 return font.getCapHeight();
316 }
317 public float getLineHeight() {
318 if (font == null)
319 return 0f;
320 updateScale();
321 return font.getLineHeight();
322 }
323
324 public void draw(Batch batch, String text, Color color, float x, float y, float w, boolean wrap, int horzAlignment) {
325 updateScale();

Callers 15

forHeightMethod · 0.95
drawCardListItemMethod · 0.95
drawCardLabelMethod · 0.95
drawSubLabelMethod · 0.95
drawValueMethod · 0.80
updatePiecesMethod · 0.80
doLandscapeLayoutMethod · 0.80
drawBackgroundMethod · 0.80
doLayoutMethod · 0.80
drawValueMethod · 0.80
doLayoutMethod · 0.80
getPreferredHeightMethod · 0.80

Calls 1

updateScaleMethod · 0.95

Tested by

no test coverage detected