![]() |
#include <CGAL/IO/Color.h>
Color c; | |
creates a color with rgb-value (0,0,0), i.e. black.
| |
Color c ( int red, int green, int blue); | |
creates a color with rgb-value (red,green,blue).
|
bool | c == q const | Test for equality: Two colors are equal, iff their rgb-values are equal. |
bool | c != q const | Test for inequality. |
int | c.red () const | returns the red component of c. |
int | c.green () const | returns the green component of c. |
int | c.blue () const | returns the blue component of c. |
The following constants are predefined:
const Color | BLACK = Color(0, 0, 0); | Black. |
const Color | WHITE = Color(255, 255, 255); | White. |
const Color | RED = Color(255, 0, 0); | Red. |
const Color | GREEN = Color(0, 255, 0); | Green. |
const Color | BLUE = Color(0, 0, 255); | Blue. |
const Color | VIOLET = Color(255, 0, 255); | Violet. |
const Color | ORANGE = Color(255, 170, 0); | Orange. |
CGAL::Qt_widget
CGAL::Geomview_stream