| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/colorattribute.h>

Public Member Functions | |
| ColorAttribute (const Color &color=Color()) | |
| Constructs the wrapper object with a given color. | |
| ColorAttribute (double r, double g, double b, double opacity=1.0) | |
| Constructs the wrapper object with given rgba components (opacity = alpha). | |
| bool | operator== (const ColorAttribute &other) const |
| void | setColor (const Color &) |
| Sets the represented color. | |
| Color | getColor () const |
| Returns the represented color. | |
| VRS_TYPEINFO (ColorAttribute, MonoAttribute) | |
| VRS_SERIALIZABLE (ColorAttribute) | |
Constructs the wrapper object with a given color.
| VRS::ColorAttribute::ColorAttribute | ( | double | r, | |
| double | g, | |||
| double | b, | |||
| double | opacity = 1.0 | |||
| ) |
Constructs the wrapper object with given rgba components (opacity = alpha).
| bool VRS::ColorAttribute::operator== | ( | const ColorAttribute & | other | ) | const |
| void VRS::ColorAttribute::setColor | ( | const Color & | c | ) | [inline] |
Sets the represented color.
| Color VRS::ColorAttribute::getColor | ( | ) | const [inline] |
Returns the represented color.
| VRS::ColorAttribute::VRS_TYPEINFO | ( | ColorAttribute | , | |
| MonoAttribute | ||||
| ) |
| VRS::ColorAttribute::VRS_SERIALIZABLE | ( | ColorAttribute | ) |