OBColor Class Reference
Color class used by OBDepict. More...
#include <openbabel/depict/painter.h>
Public Member Functions | |
| OBColor () | |
| OBColor (double _red, double _green, double _blue, double _alpha=1.0) | |
| OBColor (const std::string &color) | |
| OBColor (std::vector< double > vec) | |
| bool | operator!= (const OBColor &other) |
Public Attributes | |
| double | red |
| double | green |
| double | blue |
| double | alpha |
Detailed Description
Color class used by OBDepict.
- Since:
- version 2.3
Constructor & Destructor Documentation
| OBColor | ( | ) | [inline] |
| OBColor | ( | double | _red, | |
| double | _green, | |||
| double | _blue, | |||
| double | _alpha = 1.0 | |||
| ) | [inline] |
| OBColor | ( | const std::string & | color | ) | [inline] |
| OBColor | ( | std::vector< double > | vec | ) | [inline] |
Member Function Documentation
| bool operator!= | ( | const OBColor & | other | ) | [inline] |
Member Data Documentation
| double red |
Referenced by OBColor::operator!=(), CairoPainter::SetFillColor(), and CairoPainter::SetPenColor().
| double green |
Referenced by OBColor::operator!=(), CairoPainter::SetFillColor(), and CairoPainter::SetPenColor().
| double blue |
Referenced by OBColor::operator!=(), CairoPainter::SetFillColor(), and CairoPainter::SetPenColor().
| double alpha |
The documentation for this class was generated from the following file:


