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

Method getAscent

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

Source from the content-addressed store, hash-verified

303 return new TextBounds(maxWidth, data.capHeight + (numLines - 1) * data.lineHeight);
304 }
305 public float getAscent() {
306 if (font == null)
307 return 0f;
308 updateScale();
309 return font.getAscent();
310 }
311 public float getCapHeight() {
312 if (font == null)
313 return 0f;

Callers 1

drawPtBoxMethod · 0.95

Calls 1

updateScaleMethod · 0.95

Tested by

no test coverage detected