| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Graphics | Returns: a new graphics context that is a copy of this graphics context.Overrides sun. Creates a new |
| public Graphics | Returns: a new graphics context.the x coordinate. x, int the y coordinate. y, int the width of the clipping rectangle. width, int the height of the clipping rectangle. height)Overrides sun. Creates a new |
| public void | dispose()
Overrides sun. Disposes of this graphics context and releases any system resources that it is using. |
| public Graphics | |
| public PrintJob | getPrintJob()
Implements java. Returns the PrintJob object from which this PrintGraphics object originated. |
| printJob | back to summary |
|---|---|
| private PrintJob printJob | |
| ProxyPrintGraphics | back to summary |
|---|---|
| public ProxyPrintGraphics(Graphics graphics, PrintJob thePrintJob) | |
| create | back to summary |
|---|---|
| public Graphics create() Overrides sun. Creates a new
| |
| create | back to summary |
|---|---|
| public Graphics create(int x, int y, int width, int height) Overrides sun. Creates a new
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides sun. Doc from sun. Disposes of this graphics context and releases
any system resources that it is using.
A
When a Java program runs, a large number of
Graphics objects which are provided as arguments to the
| |
| getGraphics | back to summary |
|---|---|
| public Graphics getGraphics() Overrides sun. | |
| getPrintJob | back to summary |
|---|---|
| public PrintJob getPrintJob() Implements java. Returns the PrintJob object from which this PrintGraphics object originated. | |