|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ScalingMode> net.coobird.thumbnailator.resizers.configurations.ScalingMode
public enum ScalingMode
An enum which is used to specify how to scale images when creating thumbnails.
Enum Constant Summary | |
---|---|
BICUBIC
A hint to use bicubic interpolation when resizing images. |
|
BILINEAR
A hint to use bilinear interpolation when resizing images. |
|
PROGRESSIVE_BILINEAR
A hint to use progressing bilinear interpolation when resizing images. |
Method Summary | |
---|---|
static ScalingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ScalingMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ScalingMode BILINEAR
public static final ScalingMode BICUBIC
public static final ScalingMode PROGRESSIVE_BILINEAR
For details on this technique, refer to the documentation of the
ProgressiveBilinearResizer
class.
Method Detail |
---|
public static final ScalingMode[] values()
for(ScalingMode c : ScalingMode.values()) System.out.println(c);
public static ScalingMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |