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

A color space whose saturation can be read and replaced through Saturation. More...

Concept definition

template<typename T>
concept SaturationSpace = ColorType<T> && requires(const T& color, const float value) {
{ Saturation<T>::get(color) } -> std::same_as<float>;
{ Saturation<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 saturation can be read and replaced through Saturation.
Reads and replaces the saturation of a color space: how far a color is from the gray of its lightness...

Detailed Description

A color space whose saturation can be read and replaced through Saturation.

Template Parameters
TThe type to check

Definition at line 376 of file Operations.cppm.