The Graphics class fulfills two major responsibilities:
Set and get graphical parameters
Perform graphical operations in an output device
The main focus of attention for the Graphics class is the second item, to which most of this chapter is devoted. This section takes a brief look at the graphical parameters that are maintained by the Graphics class:
Font and font metrics
The Graphics class provides get and set methods for color, font, and clipping rectangle. Graphics mode is a write-only property, while font metrics is a read-only property.
 Font metrics are associated with a specific font, so font metrics can be changed by changing the Graphics' font.
Each Graphics maintains a single ...