dmagick.ColorRGB
License:
zlib (See accompanying LICENSE file)
Authors:
Mike Wey
- class ColorRGB: dmagick.Color.Color;
An RGB(A) Color.
- this();
- this(ubyte red, ubyte green, ubyte blue, ubyte opacity = 0);
Create a Color from the specified Bytes.
- this(double red, double green, double blue, double opacity = 0);
Create a Color from the specified doubles. The values should be between 0.0 and 1.0.
- this(string color);
Create a Color from a X11 color specification string
- void redByte(ubyte red);
ubyte redByte(); The value for red as a byte
- void greenByte(ubyte green);
ubyte greenByte(); The value for green as a byte
- void blueByte(ubyte blue);
ubyte blueByte(); The value for blue as a byte
- void red(double red);
double red(); - void green(double green);
double green(); - void blue(double blue);
double blue();