OMNeT++ Simulation Library  5.6.1
cFigure::RGBA Struct Reference

#include <ccanvas.h>

Description

Represents an RGBA pixel, for Pixmap manipulation.

Public Member Functions

Methods.
 RGBA ()
 
 RGBA (uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha)
 
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
 

Public Attributes

Components of the pixel.
uint8_t red
 
uint8_t green
 
uint8_t blue
 
uint8_t alpha
 

The documentation for this struct was generated from the following file: