Font.getHeight

From Spheriki

Jump to: navigation, search

Get the height of a font character, in pixels.


Contents

Usage

Font.getHeight();
  • Font Sphere Font object. The font to find the height of.


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

  • Sphere Font object
Personal tools