public enum ColorsOfCMYK extends Enum<ColorsOfCMYK>
Colors included in the CMYK color model.
Enum Constant and Description |
---|
Black
Black color.
|
Cyan
Cyan color.
|
Magenta
Magenta color.
|
Yellow
Yellow color.
|
Modifier and Type | Method and Description |
---|---|
static ColorsOfCMYK |
getByValue(int value) |
int |
getValue() |
static ColorsOfCMYK |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorsOfCMYK[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorsOfCMYK Cyan
Cyan color.
public static final ColorsOfCMYK Magenta
Magenta color.
public static final ColorsOfCMYK Yellow
Yellow color.
public static final ColorsOfCMYK Black
Black color.
public static ColorsOfCMYK[] values()
for (ColorsOfCMYK c : ColorsOfCMYK.values()) System.out.println(c);
public static ColorsOfCMYK valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static ColorsOfCMYK getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.