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