public enum ColorsEnum extends java.lang.Enum<ColorsEnum>
Modifier and Type | Field and Description |
---|---|
(package private) float[][] |
rawColors
Array that contains seven samples of raw RGB-values.
|
(package private) float[] |
rgbColors
Array that contains mean RGB-values from seven raw samples.
|
Modifier and Type | Method and Description |
---|---|
float[][] |
getRawColors()
Return seven raw RGB-sample.
|
float[] |
getrgbColors()
Return mean RGB-sample.
|
void |
setRawColors(float[][] rawColors)
Write seven RGB samples into raw value array.
|
void |
setrgbColors(float[] rgbColors)
Write given RGB sample into mean value array.
|
static ColorsEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorsEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorsEnum Y
public static final ColorsEnum W
public static final ColorsEnum G
public static final ColorsEnum O
public static final ColorsEnum B
public static final ColorsEnum R
public static final ColorsEnum N
float[] rgbColors
float[][] rawColors
public static ColorsEnum[] values()
for (ColorsEnum c : ColorsEnum.values()) System.out.println(c);
public static ColorsEnum 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 void setrgbColors(float[] rgbColors)
rgbColors
- RGB valuespublic float[] getrgbColors()
public void setRawColors(float[][] rawColors)
rawColors
- Seven RGB samplespublic float[][] getRawColors()