public static enum PreserveAspectRatio.Scale extends Enum<PreserveAspectRatio.Scale>
| Enum Constant and Description |
|---|
meet
The document is scaled so that it is as large as possible without overflowing the viewport.
|
slice
The document is scaled so that entirely fills the viewport.
|
| Modifier and Type | Method and Description |
|---|---|
static PreserveAspectRatio.Scale |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreserveAspectRatio.Scale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreserveAspectRatio.Scale meet
public static final PreserveAspectRatio.Scale slice
public static PreserveAspectRatio.Scale[] values()
for (PreserveAspectRatio.Scale c : PreserveAspectRatio.Scale.values()) System.out.println(c);
public static PreserveAspectRatio.Scale valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null