#include <color.h>
|
| Color () |
|
Color & | operator= (const Color &rhs) |
|
| Color (const double &r_, const double &g_, const double &b_, const double &a_) |
|
| Color (const double *rgba) |
|
| Color (const std::string &vector_str) |
|
| Color (const Type type_) |
|
bool | isA (const char *name) override |
|
void | clear () override |
|
void | print (std::ostream &os) override |
|
void | set (double &r, double &g, double &b, double &a) |
|
| ~Color () |
|
double | getR () const |
|
double | getG () const |
|
double | getB () const |
|
double | getA () const |
|
virtual bool | validate () const |
|
virtual void | set (const std::any &value) |
|
◆ Type
Enumerator |
---|
Red | |
Green | |
Blue | |
Black | |
White | |
Yellow | |
Cyan | |
Magenta | |
◆ Color() [1/5]
◆ Color() [2/5]
Color::Color |
( |
const double & |
r_, |
|
|
const double & |
g_, |
|
|
const double & |
b_, |
|
|
const double & |
a_ |
|
) |
| |
◆ Color() [3/5]
Color::Color |
( |
const double * |
rgba | ) |
|
◆ Color() [4/5]
Color::Color |
( |
const std::string & |
vector_str | ) |
|
◆ Color() [5/5]
Color::Color |
( |
const Type |
type_ | ) |
|
◆ ~Color()
◆ clear()
◆ getA()
double Color::getA |
( |
| ) |
const |
◆ getB()
double Color::getB |
( |
| ) |
const |
◆ getG()
double Color::getG |
( |
| ) |
const |
◆ getR()
double Color::getR |
( |
| ) |
const |
◆ isA()
bool Color::isA |
( |
const char * |
name | ) |
|
|
overridevirtual |
◆ operator=()
◆ print()
void Color::print |
( |
std::ostream & |
os | ) |
|
|
overridevirtual |
◆ set()
void Color::set |
( |
double & |
r, |
|
|
double & |
g, |
|
|
double & |
b, |
|
|
double & |
a |
|
) |
| |
The documentation for this class was generated from the following files: