Professional Documents
Culture Documents
- Graphics context: provides methods for all of the drawing operations on its area. It also
holds "contextual" information about such things as the drawing area's clipping region, painting
color, transfer mode, and text font.
- Most often the graphics context is obtained from the Java window manager as a result of a
painting request. This context is passed to your component's paint() or update() method. We
have a example later to show how to use it
Java Graphics
- About class: java.awt.graphics
- Class Hierarchy
java.lang.Object
|
+----java.awt.Graphics