|
| | Color () noexcept |
| | Default: indeterminate color.
|
| | Color (double color_value, std::string const &color_type) noexcept |
| | Fully-specified color: both a numeric value and its type string.
|
| | Color (Color const &)=default |
| | Color (Color &&)=default |
| Color & | operator= (Color const &)=default |
| Color & | operator= (Color &&)=default |
| | ~Color () noexcept=default |
| bool | isIndeterminate () const noexcept |
| | Whether this Color was default‑constructed (i.e. has no value/type).
|
| double | getColorValue () const noexcept |
| | The numeric color value; only valid if !isIndeterminate().
|
| std::string const & | getColorType () const noexcept |
| | The color type string (e.g. "g-r"); only valid if !isIndeterminate().
|
| bool | operator== (Color const &other) const noexcept |
| | Equality comparison for colors.
|
| bool | operator!= (Color const &other) const noexcept |
Describe the colour of a source.
Inputs are color type (a string, for exemple 'g-r') and its color value (float).
Definition at line 23 of file Color.h.