GraphicsUnit
Inheritance: java.lang.Object
public final class GraphicsUnit
Specifies the unit of measure for the given data.
Fields
Field | Description |
---|---|
WORLD | Specifies the world coordinate system unit as the unit of measure. |
DISPLAY | Specifies the unit of measure of the display device. |
PIXEL | Specifies a device pixel as the unit of measure. |
POINT | Specifies a printer’s point (1/72 inch) as the unit of measure. |
INCH | Specifies the inch as the unit of measure. |
DOCUMENT | Specifies the document unit (1/300 inch) as the unit of measure. |
MILLIMETER | Specifies the millimeter as the unit of measure. |
WORLD
public static final int WORLD
Specifies the world coordinate system unit as the unit of measure.
DISPLAY
public static final int DISPLAY
Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers.
PIXEL
public static final int PIXEL
Specifies a device pixel as the unit of measure.
POINT
public static final int POINT
Specifies a printer’s point (1/72 inch) as the unit of measure.
INCH
public static final int INCH
Specifies the inch as the unit of measure.
DOCUMENT
public static final int DOCUMENT
Specifies the document unit (1/300 inch) as the unit of measure.
MILLIMETER
public static final int MILLIMETER
Specifies the millimeter as the unit of measure.