Class representing colour values within the system. More...
Public Member Functions | |
float | getAlpha () |
float | getRed () |
float | getGreen () |
float | getBlue () |
float | getHue () |
float | getSaturation () |
float | getLumination () |
void | setAlpha (float alpha) |
void | setRed (float red) |
void | setGreen (float green) |
void | setBlue (float blue) |
void | set (float red, float green, float blue, float alpha=1.0f) |
void | setRGB (float red, float green, float blue) |
void | setRGB (Colour val) |
void | setHSL (float hue, float saturation, float luminance, float alpha=1.0f) |
void | invertColour (void) |
void | invertColourWithAlpha (void) |
bool | operator= (Colour rhs) |
equality operator |
Writable Variables | |
float | a |
float | r |
float | g |
float | b |
Colour components. |
Read-Only Variables | |
float | h |
float | s |
float | l |
Class representing colour values within the system.