Reference textAscent()

textAscent()

Calculates the ascent of the current font at its current size.

The ascent represents the distance, in pixels, of the tallest character above the baseline.

Examples

Notice any errors or typos? Please let us know. Please feel free to edit src/typography/attributes.js and open a pull request!

Related References