Last update Sun May 11 01:02:33 2014

dmagick.ColorGray

License:
zlib (See accompanying LICENSE file)

Authors:
Mike Wey

class ColorGray: dmagick.Color.Color;

A Gray scale color.

this();


this(ubyte shade, ubyte opacity = 0);

Create a Color from the specified Bytes.

this(double shade, double opacity = 0);

Create a Color from the specified doubles. The values should be between 0.0 and 1.0.

void shade(double shade);
double shade();

The value for the shade as a double in the range [0.0 .. 1.0]