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