Public Member Functions | Public Attributes

OBColor Class Reference

Color class used by OBDepict. More...

#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!=().

double green

Referenced by OBColor::operator!=().

double blue

Referenced by OBColor::operator!=().

double alpha

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines