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 data member in java?
what is the main class of all the classes
What are methods?
What is a static method in java?
Why does java doesnt suuport unsigned values?
what are the different non-access specifiers in java?
What is the difference between call by reference and call by pointer?
What is java beans?
what is j2se
what is mutability?which one is mutable String or StringBuffer?and why?give examples of each which shows the mutability of each String or StringBuffer
Define inheritance?
What is the program compilation process?