MCPcopy Index your code
hub / github.com/benfry/processing4 / textDescent

Method textDescent

core/src/processing/core/PGraphics.java:4324–4329  ·  view source on GitHub ↗

Returns descent of the current font at its current size. This information is useful for determining the height of the font below the baseline. @webref typography:metrics @webBrief Returns descent of the current font at its current size @see PGraphics#textAscent()

()

Source from the content-addressed store, hash-verified

4322 * @see PGraphics#textAscent()
4323 */
4324 public float textDescent() {
4325 if (textFont == null) {
4326 defaultFontOrDeath("textDescent");
4327 }
4328 return textFont.descent() * textSize;
4329 }
4330
4331
4332 /**

Callers 2

handleTextSizeMethod · 0.95
textMethod · 0.95

Calls 2

defaultFontOrDeathMethod · 0.95
descentMethod · 0.80

Tested by

no test coverage detected