Rasterizer:getHeight

Returns the height of a glyph, or the maximum height of any glyph.


height = Rasterizer:getHeight(character)

Arguments

NameTypeDescription
characterstring A character.

Returns

NameTypeDescription
heightnumber The height, in pixels.

height = Rasterizer:getHeight(codepoint)

Arguments

NameTypeDescription
codepointnumber A codepoint.

Returns

NameTypeDescription
heightnumber The height, in pixels.

height = Rasterizer:getHeight()

Arguments

None

Returns

NameTypeDescription
heightnumber The height, in pixels.

See also