|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Antialiasing> net.coobird.thumbnailator.resizers.configurations.Antialiasing
public enum Antialiasing
An enum which is used to specify the antialiasing settings of the resizing operations.
Enum Constant Summary | |
---|---|
DEFAULT
A hint to use the default antialiasing settings. |
|
OFF
A hint to disable antialiasing. |
|
ON
A hint to enable antialiasing. |
Method Summary | |
---|---|
RenderingHints.Key |
getKey()
Returns a rendering hint key. |
Object |
getValue()
Returns a rendering hint value. |
static Antialiasing |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Antialiasing[] |
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 Antialiasing ON
public static final Antialiasing OFF
public static final Antialiasing DEFAULT
Method Detail |
---|
public static final Antialiasing[] values()
for(Antialiasing c : Antialiasing.values()) System.out.println(c);
public static Antialiasing valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic RenderingHints.Key getKey()
ResizerConfiguration
getKey
in interface ResizerConfiguration
public Object getValue()
ResizerConfiguration
getValue
in interface ResizerConfiguration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |