If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Course: Unlisted resources area > Unit 2

Lesson 1: ProcessingJS documentation

textDescent()

Returns the descent of the current font at its current size. The descent is the distance of the font below the baseline. For the total height of the line, add together the textAscent() and textDescent() values.

Want to join the conversation?

No posts yet.