stromx  0.8.0
Public Member Functions | List of all members
stromx::runtime::Color Class Reference

RGB color. More...

#include <Color.h>

Public Member Functions

 Color ()
 
 Color (const uint8_t r, const uint8_t g, const uint8_t b)
 
uint8_t r () const
 
uint8_t g () const
 
uint8_t b () const
 

Detailed Description

RGB color.

Constructor & Destructor Documentation

§ Color() [1/2]

stromx::runtime::Color::Color ( )
inline

Constructs an RGB with all color values set to 0 (i.e. black).

§ Color() [2/2]

stromx::runtime::Color::Color ( const uint8_t  r,
const uint8_t  g,
const uint8_t  b 
)
inline

Constructs an RGB color with values in the range 0-255.

Member Function Documentation

§ b()

uint8_t stromx::runtime::Color::b ( ) const
inline

Returns the blue value.

§ g()

uint8_t stromx::runtime::Color::g ( ) const
inline

Returns the green value.

§ r()

uint8_t stromx::runtime::Color::r ( ) const
inline

Returns the red value.


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