|
xmlgraphics-commons 1.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RenderingIntent>
org.apache.xmlgraphics.java2d.color.RenderingIntent
public enum RenderingIntent
Enumeration for rendering intents.
Enum Constant Summary | |
---|---|
ABSOLUTE_COLORIMETRIC
Absolute colorimetric rendering intent. |
|
AUTO
Automatic rendering intent. |
|
PERCEPTUAL
Perceptual rendering intent. |
|
RELATIVE_COLORIMETRIC
Relative colorimetric rendering intent. |
|
SATURATION
Saturation rendering intent. |
Method Summary | |
---|---|
static RenderingIntent |
fromICCValue(int value)
Returns the enum value for the given integer rendering intent (as defined by the ICC specification). |
int |
getIntegerValue()
Returns an integer value identifying the rendering intent. |
static RenderingIntent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RenderingIntent[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 RenderingIntent PERCEPTUAL
public static final RenderingIntent RELATIVE_COLORIMETRIC
public static final RenderingIntent ABSOLUTE_COLORIMETRIC
public static final RenderingIntent SATURATION
public static final RenderingIntent AUTO
Method Detail |
---|
public static RenderingIntent[] values()
for (RenderingIntent c : RenderingIntent.values()) System.out.println(c);
public static RenderingIntent 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
NullPointerException
- if the argument is nullpublic int getIntegerValue()
ICC_Profile
.ic*)
public static RenderingIntent fromICCValue(int value)
value
- the rendering intent as ICC value
|
xmlgraphics-commons 1.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |