OMNeT++ Simulation Library
6.0.3
|
#include <ccanvas.h>
Public Attributes | |
Components of the pixel. | |
uint8_t | red = 0 |
uint8_t | green = 0 |
uint8_t | blue = 0 |
uint8_t | alpha = 0 |
Methods. | |
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) |