Geom Software - C++ Programming and Geometry Libraries
Fade2D Documentation pages v1.52
GEOM_FADE2D::Color Class Reference

Color More...

#include <Color.h>

Public Member Functions

 Color (double r_, double g_, double b_, double width_, bool bFill_=false)
 
 Color (Colorname c, float width_=0.001, bool bFill_=false)
 
bool operator!= (Color &other) const
 
bool operator== (Color &other) const
 

Public Attributes

float r
 
float g
 
float b
 
float width
 
bool bFill
 

Friends

std::ostream & operator<< (std::ostream &stream, const Color &c)
 

Detailed Description

See also
Visualizer2 where Color objects are used for visualizations

Constructor & Destructor Documentation

GEOM_FADE2D::Color::Color ( double  r_,
double  g_,
double  b_,
double  width_,
bool  bFill_ = false 
)

Constructor for a color to be used together with the Visualizer2 class

Parameters
r_red
g_green
b_blue
width_linewidth
bFill_fill-color (default value: false)
GEOM_FADE2D::Color::Color ( Colorname  c,
float  width_ = 0.001,
bool  bFill_ = false 
)

Constructor for a color to be used together with the Visualizer2 class

Parameters
cis a predefined color name
width_linewidth
bFill_fill-color (default value: false)

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