Py5Graphics.text_descent()

Py5Graphics.text_descent()#

Returns descent of the current font at its current size.

Description#

Returns descent of the current font at its current size. This information is useful for determining the height of the font below the baseline.

This method is the same as text_descent() but linked to a Py5Graphics object. To see example code for how it can be used, see text_descent().

Underlying Processing method: PGraphics.textDescent

Signatures#

text_descent() -> float

Updated on March 06, 2023 02:49:26am UTC