What are Font and FontMetrics classes?



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

Post New Answer

More Core Java Interview Questions

What is data member in java?

0 Answers  


what is the main class of all the classes

5 Answers   Photon,


What are methods?

0 Answers  


What is a static method in java?

0 Answers  


Why does java doesnt suuport unsigned values?

0 Answers   ABC,






what are the different non-access specifiers in java?

5 Answers  


What is the difference between call by reference and call by pointer?

0 Answers  


What is java beans?

0 Answers  


what is j2se

3 Answers  


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

4 Answers   IBM, Zenon,


Define inheritance?

0 Answers  


What is the program compilation process?

0 Answers  


Categories