Package org.apache.commons.imaging.color
Class ColorCmyk
java.lang.Object
org.apache.commons.imaging.color.ColorCmyk
Represents a color in the CMYK color space.
Contains the constant values for black, white, red, green, blue, cyan, magenta, and yellow.
- Since:
- 1.0-alpha1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColorCmyk
A constant for color black.static final ColorCmyk
A constant for color blue.final double
Cyan.static final ColorCmyk
A constant for color cyan.static final ColorCmyk
A constant for color green.final double
Key.final double
Magenta.static final ColorCmyk
A constant for color magenta.static final ColorCmyk
A constant for color red.static final ColorCmyk
A constant for color white.final double
Yellow.static final ColorCmyk
A constant for color yellow. -
Constructor Summary
ConstructorsConstructorDescriptionColorCmyk
(double c, double m, double y, double k) Constructs a new instance. -
Method Summary
-
Field Details
-
CYAN
A constant for color cyan. Color components are:cyan: 100 magenta: 0 yellow: 0 key: 0
-
MAGENTA
A constant for color magenta. Color components are:cyan: 0 magenta: 100 yellow: 0 key: 0
-
YELLOW
A constant for color yellow. Color components are:cyan: 0 magenta: 0 yellow: 100 key: 0
-
BLACK
A constant for color black. Color components are:cyan: 0 magenta: 0 yellow: 0 key: 100
-
WHITE
A constant for color white. Color components are:cyan: 0 magenta: 0 yellow: 0 key: 0
-
RED
A constant for color red. Color components are:cyan: 0 magenta: 100 yellow: 100 key: 0
-
GREEN
A constant for color green. Color components are:cyan: 100 magenta: 0 yellow: 100 key: 0
-
BLUE
A constant for color blue. Color components are:cyan: 100 magenta: 100 yellow: 0 key: 0
-
c
Cyan. -
m
Magenta. -
y
Yellow. -
k
Key.
-
-
Constructor Details
-
ColorCmyk
Constructs a new instance.- Parameters:
c
- cyan.m
- magenta.y
- yellow.k
- key.
-
-
Method Details