Color
Declared in lemon/color.h, in the group Miscellaneous Tools; the same class on the Doxygen site.
-
class Color
Data structure representing RGB colors.
Public Functions
-
inline Color()
Default constructor.
-
inline Color( double r , double g , double b )
Constructor.
-
inline double & red()
Set the red component.
-
inline const double & red() const
Return the red component.
-
inline double & green()
Set the green component.
-
inline const double & green() const
Return the green component.
-
inline double & blue()
Set the blue component.
-
inline const double & blue() const
Return the blue component.
-
inline void set( double r , double g , double b )
Set the color components.
-
inline Color()