java.io.Serializable
, java.lang.Comparable<RenderingIntent>
public enum RenderingIntent extends java.lang.Enum<RenderingIntent>
Enum Constant | Description |
---|---|
ABSOLUTE_COLORIMETRIC |
Absolute colorimetric rendering intent.
|
AUTO |
Automatic rendering intent.
|
PERCEPTUAL |
Perceptual rendering intent.
|
RELATIVE_COLORIMETRIC |
Relative colorimetric rendering intent.
|
SATURATION |
Saturation rendering intent.
|
Modifier and Type | Method | Description |
---|---|---|
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(java.lang.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.
|
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
public static RenderingIntent[] values()
for (RenderingIntent c : RenderingIntent.values()) System.out.println(c);
public static RenderingIntent valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntegerValue()
ICC_Profile
.ic*)public static RenderingIntent fromICCValue(int value)
value
- the rendering intent as ICC valueCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.