aest 0.1.0
Collection of C++ utility libraries
Loading...
Searching...
No Matches
aest::colors::HueSpace Concept Referenceexport

A color space whose hue can be read and replaced through Hue. More...

Concept definition

template<typename T>
concept HueSpace = ColorType<T> && requires(const T& color, const float value) {
{ Hue<T>::get(color) } -> std::same_as<float>;
{ Hue<T>::set(color, value) } -> std::same_as<T>;
}
Concept to check if a type is a color.
Definition Color.cppm:448
A color space whose hue can be read and replaced through Hue.
Reads and replaces the hue of a color space, in degrees.

Detailed Description

A color space whose hue can be read and replaced through Hue.

Template Parameters
TThe type to check

Definition at line 493 of file Operations.cppm.