Java javax.print.attribute.standard MediaPrintableArea fields, constructors, methods, implement or subclass

Example usage for Java javax.print.attribute.standard MediaPrintableArea fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.print.attribute.standard MediaPrintableArea.

The text is from its open source code.

Field

intMM
Value to indicate units of millimeters (mm).

Constructor

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.

Method

floatgetHeight(int units)
Get the height of the printable area in the specified units.
floatgetWidth(int units)
Get the width of the printable area in the specified units.
floatgetX(int units)
Get the x location of the origin of the printable area in the specified units.
floatgetY(int units)
Get the y location of the origin of the printable area in the specified units.