com.aspose.imaging
Class GraphicsUnit

java.lang.Object
  extended by java.lang.Enum
      extended by com.aspose.imaging.GraphicsUnit
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class GraphicsUnit
extends java.lang.Enum

Specifies the unit of measure for the given data.

See Also:
Serialized Form

Field Summary
static int Display
           Specifies the unit of measure of the display device.
static int Document
           Specifies the document unit (1/300 inch) as the unit of measure.
static int Inch
           Specifies the inch as the unit of measure.
static int Millimeter
           Specifies the millimeter as the unit of measure.
static int Pixel
           Specifies a device pixel as the unit of measure.
static int Point
           Specifies a printer's point (1/72 inch) as the unit of measure.
static int World
           Specifies the world coordinate system unit as the unit of measure.
 
Method Summary
 int getValue()
           Gets the GraphicsUnit value.
 void setValue(int value)
           Sets the GraphicsUnit value.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

See Also:
Constant Field Values

Document

public static final int Document

Specifies the document unit (1/300 inch) as the unit of measure.

See Also:
Constant Field Values

Inch

public static final int Inch

Specifies the inch as the unit of measure.

See Also:
Constant Field Values

Millimeter

public static final int Millimeter

Specifies the millimeter as the unit of measure.

See Also:
Constant Field Values

Pixel

public static final int Pixel

Specifies a device pixel as the unit of measure.

See Also:
Constant Field Values

Point

public static final int Point

Specifies a printer's point (1/72 inch) as the unit of measure.

See Also:
Constant Field Values

World

public static final int World

Specifies the world coordinate system unit as the unit of measure.

See Also:
Constant Field Values
Method Detail

getValue

public int getValue()

Gets the GraphicsUnit value.


setValue

public void setValue(int value)

Sets the GraphicsUnit value.