Example usage for Java javax.print.attribute.standard MediaPrintableArea fields, constructors, methods, implement or subclass
The text is from its open source code.
int | MM Value to indicate units of millimeters (mm). |
MediaPrintableArea(float x, float y, float w, float h, int units) Constructs a MediaPrintableArea object from floating point values. | |
MediaPrintableArea(int x, int y, int w, int h, int units) Constructs a MediaPrintableArea object from integer values. |
float | getHeight(int units) Get the height of the printable area in the specified units. |
float | getWidth(int units) Get the width of the printable area in the specified units. |
float | getX(int units) Get the x location of the origin of the printable area in the specified units. |
float | getY(int units) Get the y location of the origin of the printable area in the specified units. |