Represents an RGBA pixel, for Pixmap manipulation.
|
|
uint8_t | red = 0 |
|
uint8_t | green = 0 |
|
uint8_t | blue = 0 |
|
uint8_t | alpha = 0 |
|
|
| RGBA () |
|
| RGBA (uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha) |
|
| RGBA (const Color &color, double opacity=1) |
|
| RGBA (const RGBA &other)=default |
|
void | set (uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
|
void | operator= (const Color &color) |
|
| operator Color () const |
|
bool | operator== (const RGBA &o) const |
|
std::string | str () const |
|
static uint8_t | toAlpha (double opacity) |
|
The documentation for this struct was generated from the following file: