Color in HSV Colorspace.
More...
#include <modm/ui/color/hsv.hpp>
|
constexpr | HsvT (T hue, T saturation, T value) |
|
template<std::unsigned_integral U> |
requires std::is_same_v< T, uint16_t > &&constexpr std::is_same_v< U, uint8_t > | HsvT (const HsvT< U > &hsv_other) |
|
template<std::unsigned_integral U> |
requires std::is_same_v< T, uint8_t > &&constexpr std::is_same_v< U, uint16_t > | HsvT (const HsvT< U > &hsv_other) |
|
template<std::unsigned_integral U> |
constexpr | HsvT (const RgbT< U > &rgb) |
|
template<std::unsigned_integral U> |
constexpr | HsvT (const BrightnessT< U > gray) |
|
constexpr | HsvT (const Rgb565 &rgb565) |
|
constexpr bool | operator== (const HsvT< T > &other) const = default |
|
|
T | hue {0} |
|
T | saturation {0} |
|
T | value {0} |
|
|
template<std::unsigned_integral U> |
IOStream & | operator<< (IOStream &, const HsvT< U > &) |
|
template<std::unsigned_integral T>
class modm::color::HsvT< T >
Color in HSV Colorspace.
- Author
- Martin Rosekeit, Fabian Greif, Niklas Hauser, David Hebbeker, Thomas Sommer
template<std::unsigned_integral T>
template<std::unsigned_integral U>
requires std::is_same_v<T, uint16_t>&& constexpr std::is_same_v<U, uint8_t> modm::color::HsvT< T >::HsvT |
( |
const HsvT< U > & |
hsv_other | ) |
|
|
inlineconstexpr |
Copy Constructor 8bit->16bit
template<std::unsigned_integral T>
template<std::unsigned_integral U>
requires std::is_same_v<T, uint8_t>&& constexpr std::is_same_v<U, uint16_t> modm::color::HsvT< T >::HsvT |
( |
const HsvT< U > & |
hsv_other | ) |
|
|
inlineconstexpr |
Copy Constructor 16bit->8bit
template<std::unsigned_integral T>
template<std::unsigned_integral U>
constexpr modm::color::HsvT< T >::HsvT |
( |
const RgbT< U > & |
rgb | ) |
|
|
constexpr |
Convertion Constructor for RGB Color
- Parameters
-
template<std::unsigned_integral T>
template<std::unsigned_integral U>
constexpr modm::color::HsvT< T >::HsvT |
( |
const BrightnessT< U > |
gray | ) |
|
|
inlineconstexpr |
Convertion Constructor for Brightness
- Parameters
-
brightness | Brightness 'Color'-object |
template<std::unsigned_integral T>
constexpr modm::color::HsvT< T >::HsvT |
( |
const Rgb565 & |
rgb565 | ) |
|
|
inlineconstexpr |
Convertion Constructor for RGB565 Color
- Parameters
-
The documentation for this class was generated from the following files: