public static enum HemfPlusDraw.EmfPlusUnitType extends java.lang.Enum<HemfPlusDraw.EmfPlusUnitType>
Enum Constant and Description |
---|
Display
Specifies a unit of distance based on the characteristics of the physical display.
|
Document
Specifies a unit of 1/300 inch.
|
Inch
Specifies a unit of 1 inch.
|
Millimeter
Specifies a unit of 1 millimeter.
|
Pixel
Specifies a unit of 1 pixel.
|
Point
Specifies a unit of 1 printer's point, or 1/72 inch.
|
World
Specifies a unit of logical distance within the world space.
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static HemfPlusDraw.EmfPlusUnitType |
valueOf(int id) |
static HemfPlusDraw.EmfPlusUnitType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HemfPlusDraw.EmfPlusUnitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HemfPlusDraw.EmfPlusUnitType World
public static final HemfPlusDraw.EmfPlusUnitType Display
public static final HemfPlusDraw.EmfPlusUnitType Pixel
public static final HemfPlusDraw.EmfPlusUnitType Point
public static final HemfPlusDraw.EmfPlusUnitType Inch
public static final HemfPlusDraw.EmfPlusUnitType Document
public static final HemfPlusDraw.EmfPlusUnitType Millimeter
public static HemfPlusDraw.EmfPlusUnitType[] values()
for (HemfPlusDraw.EmfPlusUnitType c : HemfPlusDraw.EmfPlusUnitType.values()) System.out.println(c);
public static HemfPlusDraw.EmfPlusUnitType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static HemfPlusDraw.EmfPlusUnitType valueOf(int id)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.