public static enum SizeCriterion.Type extends java.lang.Enum<SizeCriterion.Type>
Enum Constant and Description |
---|
COVERING_BOUNDING_BOX
Picks all formats where the image size covers a bounding box specified by width and
height.
|
EXACTLY
Picks all formats where the image size is exactly as specified by width and height.
|
INSIDE_BOUNDING_BOX
Picks all formats where the image size is inside a bounding box specified by width and
height.
|
LARGEST_IN_BOUNDING_BOX
Picks that format where the image size is the largest one which just fits into a bounding
box specified by width and height.
|
SMALLEST_COVERING_BOUNDING_BOX
Picks that format where the image size is the smallest one covering a bounding box
specified by width and height.
|
Modifier and Type | Method and Description |
---|---|
static SizeCriterion.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SizeCriterion.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SizeCriterion.Type LARGEST_IN_BOUNDING_BOX
public static final SizeCriterion.Type INSIDE_BOUNDING_BOX
public static final SizeCriterion.Type SMALLEST_COVERING_BOUNDING_BOX
public static final SizeCriterion.Type COVERING_BOUNDING_BOX
public static final SizeCriterion.Type EXACTLY
public static SizeCriterion.Type[] values()
for (SizeCriterion.Type c : SizeCriterion.Type.values()) System.out.println(c);
public static SizeCriterion.Type 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