#include <Color.hpp>
List of all members.
Public Member Functions |
| | Color (int r, int g, int b, int a=255) |
| | Color (float r, float g, float b, float a=1.0f) |
| Color * | toHSV (void) |
| virtual | ~Color (void) |
Static Public Member Functions |
| static Color * | fromHSV (float h, float s, float v) |
Public Attributes |
| float | R |
| float | G |
| float | B |
| float | A |
Constructor & Destructor Documentation
| Color::Color |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a = 255 |
|
) |
| [inline] |
| Color::Color |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a = 1.0f |
|
) |
| [inline] |
| virtual Color::~Color |
( |
void |
) |
[inline, virtual] |
Member Function Documentation
| static Color* Color::fromHSV |
( |
float |
h, |
|
|
float |
s, |
|
|
float |
v |
|
) |
| [inline, static] |
| Color* Color::toHSV |
( |
void |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: