|
constexpr | HSVA (std::array< float, 4 > v) noexcept |
|
constexpr | HSVA (float h, float s, float v, float a) noexcept |
|
constexpr HSVA | modValue (float dValue) const noexcept |
|
constexpr HSVA | withHue (uint32_t hue) const |
| Get a new colour from this HSL colour by modifying the hue. More...
|
|
constexpr HSVA | withSaturation (float sat) const |
| Get a new colour from this HSL colour by modifying the saturation. More...
|
|
constexpr HSVA | withValue (float val) const |
| Get a new colour from this HSL colour by modifying the value. More...
|
|
constexpr HSVA | withMinSaturation (float sat) const |
| Get a new colour from this HSL colour by modifying the saturation value. More...
|
|
constexpr HSVA | contrasting () const |
| Get a new contrasting colour to this HSL colour. More...
|
|
constexpr RGBA | toRGBA () const noexcept |
| Convert to RGBA in an array of floats. More...
|
|
constexpr float & | hue () noexcept |
|
constexpr float | hue () const noexcept |
|
constexpr float & | saturation () noexcept |
|
constexpr float | saturation () const noexcept |
|
constexpr float & | value () noexcept |
|
constexpr float | value () const noexcept |
|
constexpr float & | alpha () noexcept |
|
constexpr float | alpha () const noexcept |
|
constexpr HSVA | interpolate (const HSVA &to, float v) const noexcept |
|
constexpr | HSVA (std::array< float, 4 > v) noexcept |
|
constexpr HSVA | modValue (float dValue) const noexcept |
|
constexpr HSVA | withHue (uint32_t hue) const |
| Get a new colour from this HSL colour by modifying the hue value. More...
|
|
constexpr HSVA | withMinSaturation (float sat) const |
| Get a new colour from this HSL colour by modifying the hue value. More...
|
|
constexpr HSVA | contrasting () const |
| Get a new contrasting colour to this HSL colour. More...
|
|
constexpr RGBA | toRGBA () const noexcept |
| Convert to RGBA in an array of floats. More...
|
|
constexpr float & | hue () noexcept |
|
constexpr float | hue () const noexcept |
|
constexpr float & | saturation () noexcept |
|
constexpr float | saturation () const noexcept |
|
constexpr float & | value () noexcept |
|
constexpr float | value () const noexcept |
|
constexpr float & | alpha () noexcept |
|
constexpr float | alpha () const noexcept |
|
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 |
|
Hue Saturation Value (or Brightness) representation of a color.