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 |
Why java does not support pointers?
When do we use synchronized blocks and advantages of using synchronized blocks?
What is a conditional statement explain with example?
What are 3 boolean operators?
What is byte code and why is it important to java’s use for internet programming?
What does system.gc() and runtime.gc() methods do?
What is replacefirst in java?
What is a consumer in java?
What is a dot notation?
what is function overloading in java?
0 Answers Tavant Technologies, TCS, Virtusa,
What is a constructor overloading in java?
What is nullpointerexception in java?