GATE
gate::graph::Color Class Reference

Public Member Functions

 Color (uint32_t rgba=0)
 
 Color (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255)
 
 Color (gate_color_t const &col)
 
gate_color_tc_impl ()
 
gate_color_t const * c_impl () const
 
gate_color_toperator-> ()
 
gate_color_t const * operator-> () const
 
void setOpaque (Color const &color)
 
void setOpaque (gate_color_t const &color)
 
void setTransparent (Color const &color)
 
void setTransparent (gate_color_t const &color)
 

Static Public Member Functions

static Color parseHex (String const &text)
 

Public Attributes

gate_color_t value
 

Static Public Attributes

static Color const Black = Color(0x00, 0x00, 0x00)
 
static Color const Blue = Color(0x00, 0x00, 0x99)
 
static Color const Green = Color(0x00, 0x99, 0x00)
 
static Color const Cyan = Color(0x00, 0x99, 0x99)
 
static Color const Red = Color(0x99, 0x00, 0x00)
 
static Color const Magenta = Color(0x99, 0x00, 0x99)
 
static Color const Brown = Color(0x99, 0x66, 0x33)
 
static Color const LightGray = Color(0x99, 0x99, 0x99)
 
static Color const DarkGray = Color(0x66, 0x66, 0x66)
 
static Color const BrightBlue = Color(0x66, 0x66, 0xff)
 
static Color const BrightGreen = Color(0x66, 0xff, 0x66)
 
static Color const BrightCyan = Color(0x66, 0xff, 0xff)
 
static Color const BrightRed = Color(0xff, 0x66, 0x66)
 
static Color const BrightMagenta = Color(0xff, 0x66, 0xff)
 
static Color const Yellow = Color(0xff, 0xff, 0x66)
 
static Color const White = Color(0xff, 0xff, 0xff)
 

The documentation for this class was generated from the following files: