sgColorA Class Reference

#include <sgColor.h>

Inheritance diagram for sgColorA:
sgColor

List of all members.

Public Member Functions

 sgColorA (unsigned char r_=0, unsigned char g_=0, unsigned char b_=0, unsigned char a_=255)
bool operator== (const sgColorA &other)

Public Attributes

unsigned char a

Detailed Description

ColorA class. Stores a color with alpha channel with values between 0 and 255 and provides functionality for it.


Constructor & Destructor Documentation

sgColorA::sgColorA ( unsigned char  r_ = 0,
unsigned char  g_ = 0,
unsigned char  b_ = 0,
unsigned char  a_ = 255 
)

Constructor. Initializes a new instance.

Parameters:
r_ the r value
g_ the g value
b_ the b value
a_ the a value

Member Function Documentation

bool sgColorA::operator== ( const sgColorA other  ) 

Equal. Checks if two instances equal each other.


Member Data Documentation

unsigned char sgColorA::a

Alpha. The colors alpha component.


The documentation for this class was generated from the following files:
Generated on Thu Jun 3 13:31:04 2010 for iSDGE by  doxygen 1.6.3