Font:getAscent
Returns the maximum distance that any glyph will extend above the Font's baseline. Units are generally in meters, see Font:getPixelDensity
.
ascent = Font:getAscent()
Arguments
None
Returns
Name | Type | Description |
ascent | number | The ascent of the Font. |
See also
Font:getDescent
Rasterizer:getAscent
Font