public static enum CropAndResize.Method extends Enum<CropAndResize.Method>
Modifier and Type | Method and Description |
---|---|
static CropAndResize.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CropAndResize.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CropAndResize.Method BILINEAR
public static final CropAndResize.Method NEAREST
public static CropAndResize.Method[] values()
for (CropAndResize.Method c : CropAndResize.Method.values()) System.out.println(c);
public static CropAndResize.Method 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 © 2019. All rights reserved.