LUVis::Color Class Reference

Color Class. More...

#include <Color.h>

List of all members.

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.


Detailed Description

Color Class.

Class to handle colors.


Constructor & Destructor Documentation

LUVis::Color::Color ( void   ) 

LUVis::Color::Color ( float  _r,
float  _g,
float  _b,
float  _a 
)

LUVis::Color::Color ( Color _col  ) 

LUVis::Color::~Color ( void   ) 


Member Function Documentation

void LUVis::Color::SetInterpolate ( System::Drawing::Color  col1,
float  col1weight,
System::Drawing::Color  col2,
float  col2weight 
)

interpolates two colors col1 and col2 based on their weights .

Parameters:
col1 first Color.
col1weight Weight of first Color.
col2 second Color.
col2weight Weight of second Color.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 16:23:54 2007 by  doxygen 1.4.7