Example usage for Java java.awt.print Paper fields, constructors, methods, implement or subclass
The text is from its open source code.
Paper() Creates a letter sized piece of paper with one inch margins. |
double | getHeight() Returns the height of the page in 1/72nds of an inch. |
double | getImageableHeight() Returns the height of this Paper object's imageable area. |
double | getImageableWidth() Returns the width of this Paper object's imageable area. |
double | getImageableX() Returns the x coordinate of the upper-left corner of this Paper object's imageable area. |
double | getImageableY() Returns the y coordinate of the upper-left corner of this Paper object's imageable area. |
double | getWidth() Returns the width of the page in 1/72nds of an inch. |
void | setImageableArea(double x, double y, double width, double height) Sets the imageable area of this Paper . |
void | setSize(double width, double height) Sets the width and height of this Paper object, which represents the properties of the page onto which printing occurs. |