Legacy:Font/getHeight

From Spherical
< Legacy:Font
Revision as of 22:39, 24 June 2013 by Apollolux (talk | contribs) (filled)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Get the height of a font character, in pixels.

Usage

integer Font.getHeight();


Examples

See examples for the Font object.

Notes

  • The height of every character in a single font are equal. This function could be used to place lines one underneath the other using only Font.drawText().

See also

API:Font/navbox