public static enum CropTemplate.OutputSizeMode extends java.lang.Enum<CropTemplate.OutputSizeMode>
Enum Constant and Description |
---|
AS_CROPPED
The output size is the same as the crop size.
|
CUSTOM
The output size is chosen by the user.
|
FIXED_SIZE
The output has a fixed size.
|
Modifier and Type | Method and Description |
---|---|
static CropTemplate.OutputSizeMode |
find(int id)
Return an output size mode enum value by ID.
|
static CropTemplate.OutputSizeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CropTemplate.OutputSizeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CropTemplate.OutputSizeMode AS_CROPPED
public static final CropTemplate.OutputSizeMode CUSTOM
public static final CropTemplate.OutputSizeMode FIXED_SIZE
public static CropTemplate.OutputSizeMode[] values()
for (CropTemplate.OutputSizeMode c : CropTemplate.OutputSizeMode.values()) System.out.println(c);
public static CropTemplate.OutputSizeMode 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 CropTemplate.OutputSizeMode find(int id)
id
- The internal ID of the output size mode valuewww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.