public static enum PrintItem.ScaleType extends java.lang.Enum<PrintItem.ScaleType>
| Enum Constant and Description |
|---|
CENTER |
CENTER_TOP |
CENTER_TOP_LEFT |
CROP |
FIT |
| Modifier and Type | Method and Description |
|---|---|
static PrintItem.ScaleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintItem.ScaleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintItem.ScaleType CENTER
public static final PrintItem.ScaleType CENTER_TOP
public static final PrintItem.ScaleType CROP
public static final PrintItem.ScaleType FIT
public static final PrintItem.ScaleType CENTER_TOP_LEFT
public static PrintItem.ScaleType[] values()
for (PrintItem.ScaleType c : PrintItem.ScaleType.values()) System.out.println(c);
public static PrintItem.ScaleType 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 null