Tuesday, 14 February 2012

What is the difference between the ‘Font’ and ‘FontMetrics’ class? | Core Java

The Font Class is used to render ‘glyphs’ - the characters you see on the screen.
FontMetrics encapsulates information about a specific font on a specific Graphics object. (width of the characters, ascent, descent)

No comments: