@JsType(namespace="xgl.color") public enum ColorModel extends Enum<ColorModel>
Enum Constant and Description |
---|
CIE_LAB |
CIE_LCH |
CIE_LUH |
CIE_LUV |
CMY |
CMYK |
HSI |
HSL |
HSV |
HUNTER_LAB |
HWB |
RGB |
RGBA |
XYY |
XYZ |
Modifier and Type | Method and Description |
---|---|
static ColorModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorModel CIE_LAB
public static final ColorModel CIE_LCH
public static final ColorModel CIE_LUV
public static final ColorModel CIE_LUH
public static final ColorModel CMY
public static final ColorModel CMYK
public static final ColorModel HSI
public static final ColorModel HSL
public static final ColorModel HSV
public static final ColorModel HUNTER_LAB
public static final ColorModel HWB
public static final ColorModel RGB
public static final ColorModel RGBA
public static final ColorModel XYY
public static final ColorModel XYZ
public static ColorModel[] values()
for (ColorModel c : ColorModel.values()) System.out.println(c);
public static ColorModel 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 nullCopyright © 2018 Xalys. All rights reserved.