John W. Campbell
This class has a single static method to get a Graphics object for
a printer for determining rendering sizes e.g. for scaling prior to setting
up a printer job. Basically just does a dummy print to get hold of the
Graphics context. No object is constructed.
Class and method:
Class Details
Accessible Fields
Methods
- Package:
- Jdl.JdlLib;
- Class name:
- JdlPrinterGraphics
- Class definition:
- public class JdlPrinterGraphics
- Extends:
- Object
- Implements:
- Printable
- Actions:
- none
No fields with public, package or protected access defined.
The single method returns a graphics object with its parameters set
for a printer job.
Methods:
Get graphics object - getGraphics
This method returns a Graphics object for a printer.
- Method Definition:
- public static Graphics getGraphics(PrinterJob pjob)
- Parameters List:
- none
- Method Return:
-
Returns the required Graphics object.
⇑ Up 2
⇑ Up 1
⇑ Top of this