MCPcopy Index your code
hub / github.com/processing/processing / textDescent

Method textDescent

core/src/processing/core/PGraphics.java:4241–4246  ·  view source on GitHub ↗

( begin auto-generated from textDescent.xml ) Returns descent of the current font at its current size. This information is useful for determining the height of the font below the baseline. For example, adding the textAscent() and textDescent() values will give you the total height of

()

Source from the content-addressed store, hash-verified

4239 * @see PGraphics#textAscent()
4240 */
4241 public float textDescent() {
4242 if (textFont == null) {
4243 defaultFontOrDeath("textDescent");
4244 }
4245 return textFont.descent() * textSize;
4246 }
4247
4248
4249 /**

Callers 2

handleTextSizeMethod · 0.95
textMethod · 0.95

Calls 2

defaultFontOrDeathMethod · 0.95
descentMethod · 0.80

Tested by

no test coverage detected