Gray

Gray color.

Constructors

this
this(int _gray)

Creates a new gray color.

Members

Functions

getGray
int getGray()

Returns the gray 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

gray
int gray;

Gray 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