Cmyk

CMYK color.

Constructors

this
this(int _cyan, int _magenta, int _yellow, int _black)

Creates a new CMYK color.

Members

Functions

getBlack
int getBlack()

Returns the black value.

getCyan
int getCyan()

Returns the cyan value.

getMagenta
int getMagenta()

Returns the magenta value.

getYellow
int getYellow()

Returns the yellow value.

toCmyk
Cmyk toCmyk()

toCmyk(): defined by ColorInterface.

toGray
Gray toGray()

toGray(): defined by ColorInterface.

toRgb
Rgb toRgb()

toRgb(): defined by ColorInterface.

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

black
int black;

Black value.

cyan
int cyan;

Cyan value.

magenta
int magenta;

Magenta value.

yellow
int yellow;

Yellow value.

Inherited Members

From ColorInterface

toRgb
Rgb toRgb()

Converts the color to RGB.

toCmyk
Cmyk toCmyk()

Converts the color to CMYK.

toGray
Gray toGray()

Converts the color to gray.

toString
string toString()
Undocumented in source.

Meta