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