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

Returns

Number: ascent measured in units of pixels.
This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!

Related References