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

A color space whose lightness can be read and replaced through Lightness. More...

Concept definition

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

Detailed Description

A color space whose lightness can be read and replaced through Lightness.

Template Parameters
TThe type to check

Definition at line 80 of file Operations.cppm.