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