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

NameTypeDescription
ascentnumberThe ascent of the Font.

See also