Font:getAscent
EditReturns the ascent of the font. The ascent is the maximum amount glyphs ascend above the baseline. The units depend on the font's pixel density. With the default density, the units correspond to meters.
ascent = Font:getAscent()
Arguments
None
Returns
Name | Type | Description |
ascent | number | The ascent of the font. |