Rasterizer:getAscent

Edit

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
ascentnumber The ascent of the font, in pixels.

See also