public enum AFPColorValue extends java.lang.Enum<AFPColorValue>
| Modifier and Type | Method and Description |
|---|---|
int |
toByte() |
byte[] |
toByte2() |
static AFPColorValue |
valueOf(int code) |
static AFPColorValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AFPColorValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AFPColorValue DeviceDefault_0x00
public static final AFPColorValue DeviceDefault_0xFF00
public static final AFPColorValue Blue_0x01
public static final AFPColorValue Blue_0xFF01
public static final AFPColorValue Red_0x02
public static final AFPColorValue Red_0xFF02
public static final AFPColorValue Magenta_0x03
public static final AFPColorValue Magenta_0xFF03
public static final AFPColorValue Green_0x04
public static final AFPColorValue Green_0xFF04
public static final AFPColorValue Cyan_0x05
public static final AFPColorValue Cyan_0xFF05
public static final AFPColorValue Yellow_0x06
public static final AFPColorValue Yellow_0xFF06
public static final AFPColorValue White_DeviceDefault_0x07
public static final AFPColorValue White_DeviceDefault_0xFF07
public static final AFPColorValue Black_ColorOfMedium_0x08
public static final AFPColorValue Black_ColorOfMedium_0xFF08
public static final AFPColorValue DarkBlue_0x09
public static final AFPColorValue DarkBlue_0xFF09
public static final AFPColorValue Orange_0x0A
public static final AFPColorValue Orange_0xFF0A
public static final AFPColorValue Purple_0x0B
public static final AFPColorValue Purple_0xFF0B
public static final AFPColorValue DarkGreen_0x0C
public static final AFPColorValue DarkGreen_0xFF0C
public static final AFPColorValue DarkTurquoise_0x0D
public static final AFPColorValue DarkTurquoise_0xFF0D
public static final AFPColorValue Mustard_0x0E
public static final AFPColorValue Mustard_0xFF0E
public static final AFPColorValue Gray_0x0F
public static final AFPColorValue Gray_0xFF0F
public static final AFPColorValue Brown_0x10
public static final AFPColorValue Brown_0xFF10
public static final AFPColorValue Default_0xFF
public static final AFPColorValue Default_0xFFFF
public static AFPColorValue[] values()
for (AFPColorValue c : AFPColorValue.values()) System.out.println(c);
public static AFPColorValue 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 static AFPColorValue valueOf(int code) throws AFPParserException
AFPParserExceptionpublic int toByte()
public byte[] toByte2()