( begin auto-generated from textAscent.xml ) Returns ascent of the current font at its current size. This information is useful for determining the height of the font above the baseline. For example, adding the textAscent() and textDescent() values will give you the total height of th
()
| 4218 | * @see PGraphics#textDescent() |
| 4219 | */ |
| 4220 | public float textAscent() { |
| 4221 | if (textFont == null) { |
| 4222 | defaultFontOrDeath("textAscent"); |
| 4223 | } |
| 4224 | return textFont.ascent() * textSize; |
| 4225 | } |
| 4226 | |
| 4227 | |
| 4228 | /** |
no test coverage detected