Rasterizer:getAdvance

Returns the advance metric of the font, in pixels. The advance is how many pixels the font advances horizontally after each glyph is rendered. This does not include kerning.

advance = Rasterizer:getAdvance()

Arguments

None

Returns

NameTypeDescription
advancenumberThe advance of the font, in pixels.

See also