#include <sgColor.h>
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 |
ColorA class. Stores a color with alpha channel with values between 0 and 255 and provides functionality for it.
| sgColorA::sgColorA | ( | unsigned char | r_ = 0, |
|
| unsigned char | g_ = 0, |
|||
| unsigned char | b_ = 0, |
|||
| unsigned char | a_ = 255 | |||
| ) |
Constructor. Initializes a new instance.
| r_ | the r value | |
| g_ | the g value | |
| b_ | the b value | |
| a_ | the a value |
| bool sgColorA::operator== | ( | const sgColorA & | other | ) |
Equal. Checks if two instances equal each other.
| unsigned char sgColorA::a |
Alpha. The colors alpha component.
1.6.3