Answer Posted / 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 |
Post New Answer View All Answers
What access modifiers can be used for variables?
What are different types of multitasking?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What is meant by stack and queue?
What is a condition in programming?
What's the difference between an abstract class and interface in java?
How long will it take to learn java?
What is the purpose of sizeof operator?
Explain how to convert any java object into byte array.
What are parameters in a method?
How many bytes is 255 characters?
What does isempty () do in java?
What is the difference between declaration and definition in java?
Can anonymous class have constructor?
Can you declare an interface method static?