57 friend auto operator <<(std::ostream& os,
const hsl& value) -> std::ostream& {
58 return os <<
xtd::string::format(
"hsl [hue = {}, saturation = {}, lightness = {}]", value.hue, value.saturation, value.lightness);
float single
Represents a single-precision floating-point number.
Definition single.hpp:23
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
The hsl struct.
Definition hsl.hpp:22
xtd::single lightness
Gets or sets the lightness component value of this xtd::drawing::hsl struct.
Definition hsl.hpp:34
static auto from_hsl(xtd::single hue, xtd::single saturation, xtd::single lightness) noexcept -> xtd::drawing::hsl
Creates a xtd::hsl struct from the specified hue, saturation, and lightness single values.
Definition hsl.hpp:45
xtd::single saturation
Gets or sets the saturation component value of this xtd::drawing::hsl struct.
Definition hsl.hpp:31
xtd::single hue
Gets or sets the hue component value of this xtd::drawing::hsl struct.
Definition hsl.hpp:28
static auto from_hsl(const hsl &value) noexcept -> xtd::drawing::hsl
Creates a xtd::hsl struct from the specified axtd::drawing::hsl value.
Definition hsl.hpp:51