Rose
|
The actual value of a color. More...
#include <Color.h>
Public Member Functions | |
constexpr | Value () noexcept |
Constructor, initialize color to transparent black. | |
constexpr | Value (std::array< float, 4 > v) noexcept |
constexpr | Value () noexcept |
Constructor, initialize color to transparent black. | |
constexpr | Value (std::array< float, 4 > v) noexcept |
The actual value of a color.
The value of a color is an array of four float values. How these values are interpreted depends of the type interpretation of the value. All for values are in the range [0..1], For RBBA they are Red, Green, Blue and Alpha. For HSVA they are Hue, Saturation, Value and Alpha but the Hue value is mapped into [0..360] before use.