public enum ImageAdjust extends Enum<ImageAdjust>
ImageSize
,
ImageSizeConstraint
Enum Constant and Description |
---|
CLIP
Clip image if size bounds exceeded.
|
NONE
Just check image size.
|
ZOOM
Zoom image if size bounds exceeded.
|
Modifier and Type | Method and Description |
---|---|
static ImageAdjust |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageAdjust[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageAdjust NONE
public static final ImageAdjust CLIP
public static final ImageAdjust ZOOM
public static ImageAdjust[] values()
for (ImageAdjust c : ImageAdjust.values()) System.out.println(c);
public static ImageAdjust 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 nullCopyright © 2011–2020 FoxLabs. All rights reserved.