public static enum HemfPalette.EmfSetIcmMode.ICMMode extends java.lang.Enum<HemfPalette.EmfSetIcmMode.ICMMode>
Enum Constant and Description |
---|
ICM_DONE_OUTSIDEDC
Turns off ICM in the playback device context, and turns off old-style color correction of halftones.
|
ICM_OFF
Turns off Image Color Management (ICM) in the playback device context.
|
ICM_ON
Turns on ICM in the playback device context.
|
ICM_QUERY
Queries the current state of color management in the playback device context.
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static HemfPalette.EmfSetIcmMode.ICMMode |
valueOf(int id) |
static HemfPalette.EmfSetIcmMode.ICMMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static HemfPalette.EmfSetIcmMode.ICMMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final HemfPalette.EmfSetIcmMode.ICMMode ICM_OFF
public static final HemfPalette.EmfSetIcmMode.ICMMode ICM_ON
public static final HemfPalette.EmfSetIcmMode.ICMMode ICM_QUERY
public static final HemfPalette.EmfSetIcmMode.ICMMode ICM_DONE_OUTSIDEDC
public static HemfPalette.EmfSetIcmMode.ICMMode[] values()
for (HemfPalette.EmfSetIcmMode.ICMMode c : HemfPalette.EmfSetIcmMode.ICMMode.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (HemfPalette.EmfSetIcmMode.ICMMode c : HemfPalette.EmfSetIcmMode.ICMMode.values()) System.out.println(c);)
public static HemfPalette.EmfSetIcmMode.ICMMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
(name - 要返回的枚举常量的名称。)
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
(java.lang.IllegalArgumentException - 如果此枚举类型没有具有指定名称的常量)
java.lang.NullPointerException
- if the argument is null
(java.lang.NullPointerException - 如果参数为空)
public static HemfPalette.EmfSetIcmMode.ICMMode valueOf(int id)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.