CMYK Constructor
Constructor in CMYK
Declaration
public CMYK(float cyan, float magenta, float yellow, float black)Description
Creates new CMYK components from the given values.
Parameters
| cyan | The cyan component of the color in the range [0..1]. |
| magenta | The magenta component of the color in the range [0..1]. |
| yellow | The yellow component of the color in the range [0..1]. |
| black | The black component of the color in the range [0..1]. |
Overload
Declaration
public CMYK(CMYK other)Description
Creates a new copy of the components.
Parameters
| other | The other components to copy. |
Overload
Declaration
public CMYK(Color color)Description
Creates new CMYK components from the given color.
Parameters
| color | The color to extract the components from. |