| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static float[] | Returns: a float array that contains RGB componentsa float array with length equal to
the number of CMYK components cmyk, float[] a float array with length of at least 3
that contains RGB components of a color rgb)Converts CMYK components of a color to a set of RGB components. |
| pack-priv int | |
| private static float[] | Returns: a float array that contains CMYK componentsa float array with length of at least 3
that contains RGB components of a color rgb, float[] a float array with length equal to
the number of CMYK components cmyk)Converts RGB components of a color to a set of CMYK components. |
| pack-priv void |
| ColorModelCMYK | back to summary |
|---|---|
| pack-priv ColorModelCMYK() | |
| CMYKtoRGB | back to summary |
|---|---|
| private static float[] CMYKtoRGB(float[] cmyk, float[] rgb) Converts CMYK components of a color to a set of RGB components.
| |
| getColor | back to summary |
|---|---|
| pack-priv int getColor(float[] space) Overrides javax.
| |
| RGBtoCMYK | back to summary |
|---|---|
| private static float[] RGBtoCMYK(float[] rgb, float[] cmyk) Converts RGB components of a color to a set of CMYK components.
| |
| setColor | back to summary |
|---|---|
| pack-priv void setColor(int color, float[] space) Overrides javax.
| |