Public Properties | |
| xtd::single | hue |
| Gets or sets the hue component value of this xtd::drawing::hsl struct. | |
| xtd::single | saturation |
| Gets or sets the saturation component value of this xtd::drawing::hsl struct. | |
| xtd::single | lightness |
| Gets or sets the lightness component value of this xtd::drawing::hsl struct. | |
Public Static Methods | |
| 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. | |
| static auto | from_hsl (const hsl &value) noexcept -> xtd::drawing::hsl |
| Creates a xtd::hsl struct from the specified axtd::drawing::hsl value. | |
|
inlinestaticnodiscardnoexcept |
Creates a xtd::hsl struct from the specified hue, saturation, and lightness single values.
| hue | The a single value. |
| saturation | The r single value. |
| lightness | The g single value. |
|
inlinestaticnodiscardnoexcept |
Creates a xtd::hsl struct from the specified axtd::drawing::hsl value.
| value | The hsl value. |
| xtd::single xtd::drawing::hsl::hue |
Gets or sets the hue component value of this xtd::drawing::hsl struct.
| a | byte The hue component value of this xtd::drawing::hsl. |
| xtd::single xtd::drawing::hsl::saturation |
Gets or sets the saturation component value of this xtd::drawing::hsl struct.
| r | byte The saturation component value of this xtd::drawing::hsl. |
| xtd::single xtd::drawing::hsl::lightness |
Gets or sets the lightness component value of this xtd::drawing::hsl struct.
| r | byte The lightness component value of this xtd::drawing::hsl. |