xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_hue()

float xtd::drawing::color::get_hue ( ) const
noexcept

Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this xtd::drawing::color structure.

Returns
The hue, in degrees, of this xtd::drawing::color. The hue is measured in degrees, ranging from 0.0 through 360.0, in HSL color space.
Examples
The following code example is designed for use with Windows Forms, and it requires xtd::forms::paint_event_args, which is a parameter of the xtd::forms::control::paint event handler. The code performs the following actions: