| java.lang.Object | |
| ↳ | casmi.graphics.color.CMYKColor |
CMYK color class.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| alpha | |||||||||||
| black | |||||||||||
| cyan | |||||||||||
| magenta | |||||||||||
| yellow | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new CMYKColor object using CMYK values.
| |||||||||||
Creates a new CMYKColor object using CMYK and alpha values.
| |||||||||||
Creates a new CMYKColor object from ColorSet.
| |||||||||||
Creates a new CMYKColor object from ColorSet and an alpha value.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a Color object that shows a complementary color.
| |||||||||||
Calculates a color or colors between two color at a specific increment.
| |||||||||||
Calculates a color or colors between two color at a specific increment.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
casmi.graphics.color.Color
| |||||||||||
Creates a new CMYKColor object using CMYK values.
| cyan | The C (cyan) value. 0.0 - 1.0. |
|---|---|
| magenta | The M (magenta) value. 0.0 - 1.0. |
| yellow | The Y (yellow) value. 0.0 - 1.0. |
| black | The K (black) value. 0.0 - 1.0. |
Creates a new CMYKColor object using CMYK and alpha values.
| cyan | The C (cyan) value. 0.0 - 1.0. |
|---|---|
| magenta | The M (magenta) value. 0.0 - 1.0. |
| yellow | The Y (yellow) value. 0.0 - 1.0. |
| black | The K (black) value. 0.0 - 1.0. |
| alpha | The alpha value. 0.0 - 1.0. |
Creates a new CMYKColor object from ColorSet and an alpha value.
| colorSet | ColorSet. |
|---|---|
| alpha | alpha value. 0.0 - 1.0. |
Returns a Color object that shows a complementary color.
Calculates a color or colors between two color at a specific increment.
| color1 | interpolate from this color |
|---|---|
| color2 | interpolate to this color |
| amt | between 0.0 and 1.0 |
Calculates a color or colors between two color at a specific increment.
| colorSet1 | interpolate from this color |
|---|---|
| colorSet2 | interpolate to this color |
| amt | between 0.0 and 1.0 |