57 friend auto operator <<(std::ostream& os,
const hsb& value) -> std::ostream& {
58 return os <<
xtd::string::format(
"hsb [hue = {}, saturation = {}, brightness = {}]", value.hue, value.saturation, value.brightness);
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 hsb struct.
Definition hsb.hpp:22
xtd::single saturation
Gets or sets the saturation component value of this xtd::drawing::hsb struct.
Definition hsb.hpp:31
xtd::single hue
Gets or sets the hue component value of this xtd::drawing::hsb struct.
Definition hsb.hpp:28
xtd::single brightness
Gets or sets the brightness component value of this xtd::drawing::hsb struct.
Definition hsb.hpp:34
static auto from_hsb(const hsb &value) noexcept -> xtd::drawing::hsb
Creates a xtd::hsb struct from the specified axtd::drawing::hsb value.
Definition hsb.hpp:51
static auto from_hsb(xtd::single hue, xtd::single saturation, xtd::single brightness) noexcept -> xtd::drawing::hsb
Creates a xtd::hsb struct from the specified hue, saturation, and brightness single values.
Definition hsb.hpp:45