Rasterizer:getAscent

Returns the ascent metric of the font, in pixels. The ascent represents how far any glyph of the font ascends above the baseline.

ascent = Rasterizer:getAscent()

Arguments

None

Returns

NameTypeDescription
ascentnumberThe ascent of the font, in pixels.

See also