public class CMYK implements ConvertibleColor
ConvertibleColor.DefaultImpls| Constructor and Description |
|---|
CMYK(int c,
int m,
int y,
int k) |
| Modifier and Type | Method and Description |
|---|---|
int |
component1() |
int |
component2() |
int |
component3() |
int |
component4() |
CMYK |
copy(int c,
int m,
int y,
int k) |
boolean |
equals(java.lang.Object p) |
int |
getC() |
int |
getK() |
int |
getM() |
int |
getY() |
int |
hashCode() |
CMYK |
toCMYK()
Convert this color to Cyan-Magenta-Yellow-Key
|
RGB |
toRGB()
Convert this color to Red-Green-Blue (using sRGB color space)
|
java.lang.String |
toString() |
public RGB toRGB()
Convert this color to Red-Green-Blue (using sRGB color space)
public CMYK toCMYK()
Convert this color to Cyan-Magenta-Yellow-Key
public int getC()
public int getM()
public int getY()
public int getK()
public int component1()
public int component2()
public int component3()
public int component4()
public CMYK copy(int c, int m, int y, int k)
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)