#include <DraWinObj.h>
Public Member Functions | |
Color () | |
Default constructor. | |
Color (Decimal r, Decimal g, Decimal b) | |
Constructor with parameters. | |
Color (const Color &c) | |
Copy constructor. | |
Color & | operator= (const Color &c) |
Assignment operator. | |
ColorComponent | red () |
Get the red component. | |
ColorComponent | green () |
Get the green component. | |
ColorComponent | blue () |
Get the blue component. | |
string | print () |
Print. |
MipResources::Color::Color | ( | ) | [inline] |
Default constructor.
Constructor with parameters.
[in] | r | Red component. |
[in] | g | Green component. |
[in] | b | Blue component. |
MipResources::Color::Color | ( | const Color & | c | ) |
Copy constructor.
ColorComponent MipResources::Color::red | ( | ) | [inline] |
Get the red component.
ColorComponent MipResources::Color::green | ( | ) | [inline] |
Get the green component.
ColorComponent MipResources::Color::blue | ( | ) | [inline] |
Get the blue component.
string MipResources::Color::print | ( | ) |
Print.