Font:getHeight

Returns the height of the font, sometimes also called the leading. This is the full height of a line of text, including the space between lines. Each line of a multiline string is separated on the y axis by this height, multiplied by the font's line spacing. The units depend on the font's pixel density. With the default density, the units correspond to meters.

height = Font:getHeight()

Arguments

None

Returns

NameTypeDescription
heightnumber The height of the font.

See also