OBColor Class Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes
OBColor Class Reference

`#include <openbabel/depict/painter.h>`

List of all members.

## 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:

- painter.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines