Color

Color.

Constructors

this
this(ubyte r, ubyte g, ubyte b, ubyte a)

Color constructor.

this
this(float r, float g, float b, float a)

Color constructor (float).

Members

Functions

opEquals
bool opEquals(Color c)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

a
ubyte a [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
a
ubyte a [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
asFloat
float[4] asFloat [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
b
ubyte b [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
g
ubyte g [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ptr
auto ptr [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
r
ubyte r [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

Black
Color Black;
Blue
Color Blue;
DarkGrey
Color DarkGrey;
Green
Color Green;
Grey
Color Grey;
LightGrey
Color LightGrey;
LightOrange
Color LightOrange;
Orange
Color Orange;
Red
Color Red;
Transparent
Color Transparent;

Predefined colors

White
Color White;

Predefined colors

Meta