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 |
How does singleton class work?
What do you understand by copy constructor in java?
What are the pillars of java?
What are the basic concepts of OOPS in java?
0 Answers Axtria, ITC Indian Tobacco Company,
What is the difference between a switch statement and an if statement?
solve (x-1)(x-9)=8;
3 Answers IBM, Manhattan, TCS,
Explain the different forms of polymorphism?
Different types of modifiers?
What is formatted output?
What does it mean that a class or member is final?
why operator overloading is removed in java?
Differentiate jar and war files?