![]() |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
A color object to be applied to drawable objects. More...
#include <color.h>

Public Member Functions | |
| Color (double red=255, double green=255, double blue=255, double alpha=255) | |
| Default constructor that sets the default color to be white. | |
Public Attributes | |
| unsigned char | red |
| The Red component. | |
| unsigned char | green |
| The Green component. | |
| unsigned char | blue |
| The Blue component. | |
| unsigned char | alpha |
| The Opacity Component. | |
Static Public Attributes | |
| static Color | Red = rune::Color(255, 0, 0, 255) |
| Red predefined color. | |
| static Color | Green = rune::Color(0, 255, 0, 255) |
| Green predefined color. | |
| static Color | Blue = rune::Color(0,0, 255,255) |
| Blue predefined color. | |
| static Color | Black = rune::Color(0, 0, 0, 255) |
| Black predefined color. | |
| static Color | White = rune::Color(255, 255, 255, 255) |
| White predefined color. | |
| static Color | Yellow = rune::Color(255, 255, 25, 255) |
| Yellow predefined color. | |
| static Color | Magenta = rune::Color(255, 0, 255, 255) |
| Magenta predefined color. | |
| static Color | Cyan = rune::Color(0, 255, 255, 255) |
| Cyan predefined color. | |
| static Color | Transparent = rune::Color(0, 0, 0, 0) |
| Transparent predefined color. | |
A color object to be applied to drawable objects.