Referencia 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.

Ejemplos

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!

Referencias Relacionadas