public class CMYKColor extends ExtendedColor
BLACK, BLUE, CYAN, DARK_GRAY, GRAY, GREEN, LIGHT_GRAY, MAGENTA, ORANGE, PINK, RED, WHITE, YELLOW
type, TYPE_CMYK, TYPE_DEVICEN, TYPE_GRAY, TYPE_LAB, TYPE_PATTERN, TYPE_RGB, TYPE_SEPARATION, TYPE_SHADING
Constructor | Description |
---|---|
CMYKColor(float floatCyan,
float floatMagenta,
float floatYellow,
float floatBlack) |
Construct a CMYK Color.
|
CMYKColor(int intCyan,
int intMagenta,
int intYellow,
int intBlack) |
Constructs a CMYK Color based on 4 color values (values are integers from 0 to 255).
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
float |
getBlack() |
|
float |
getCyan() |
|
float |
getMagenta() |
|
float |
getYellow() |
|
int |
hashCode() |
brighter, darker, getAlpha, getBlue, getGreen, getRed, getRGB, setValue, toString
getType, getType
public CMYKColor(int intCyan, int intMagenta, int intYellow, int intBlack)
intCyan
- intMagenta
- intYellow
- intBlack
- public CMYKColor(float floatCyan, float floatMagenta, float floatYellow, float floatBlack)
floatCyan
- floatMagenta
- floatYellow
- floatBlack
- Copyright © 1998–2018. All rights reserved.