#include <Color.h>
Public Member Functions | |
Color (void) | |
Color (float _r, float _g, float _b, float _a) | |
Color (Color^_col) | |
~Color (void) | |
void | SetInterpolate (System::Drawing::Color col1, float col1weight, System::Drawing::Color col2, float col2weight) |
interpolates two colors col1 and col2 based on their weights . | |
Public Attributes | |
float | r |
Red Component of Color. | |
float | g |
Green Component of Color. | |
float | b |
Blue Component of Color. | |
float | a |
Alpha Component of Color. |
Class to handle colors.
LUVis::Color::Color | ( | void | ) |
LUVis::Color::Color | ( | float | _r, | |
float | _g, | |||
float | _b, | |||
float | _a | |||
) |
LUVis::Color::Color | ( | Color^ | _col | ) |
LUVis::Color::~Color | ( | void | ) |
void LUVis::Color::SetInterpolate | ( | System::Drawing::Color | col1, | |
float | col1weight, | |||
System::Drawing::Color | col2, | |||
float | col2weight | |||
) |
float LUVis::Color::a |
Alpha Component of Color.
float LUVis::Color::b |
Blue Component of Color.
float LUVis::Color::g |
Green Component of Color.
float LUVis::Color::r |
Red Component of Color.