What are Font and FontMetrics classes?
Answer / ranganathkini
The Font class provides mappings to fonts that are used to
render text data onto the screen. The Font class maps the
characters of the language to their respecitve glyphs.
The FontMetrics provides access to attributes of Font
objects, things such as char width, char height, ascents,
line spacing, etc, all of which help in drawing the fonts on
the screen.
Is This Answer Correct ? | 14 Yes | 1 No |
What is an example of a conditional statement?
What is a Java package and how is it used?
Is alive in java?
What is purpose of applet programming?
When do you create an index?
Can java arraylist hold different types?
What is Applet Stub Interface ?
Is 'null' a keyword?
Does treeset use compareto?
What are the differences between processes and threads?
What does this () mean in java?
What is java autoboxing?