6 writes to _hue
System.Windows.Forms (6)
System\Windows\Forms\Rendering\ControlPaint.HLSColor.cs (6)
49
_hue
= Undefined;
64
_hue
= Bdelta - Gdelta;
68
_hue
= (HLSMax / 3) + Rdelta - Bdelta;
73
_hue
= (2 * HLSMax / 3) + Gdelta - Rdelta;
78
_hue
+= HLSMax;
83
_hue
-= HLSMax;
7 references to _hue
System.Windows.Forms (7)
System\Windows\Forms\Rendering\ControlPaint.HLSColor.cs (7)
76
if (
_hue
< 0)
81
if (
_hue
> HLSMax)
95
return ColorFromHLS(
_hue
, zeroLum - (int)(zeroLum * percDarker), _saturation);
134
return
_hue
== other.
_hue
144
public override int GetHashCode() => HashCode.Combine(
_hue
, _saturation, Luminosity);
175
return ColorFromHLS(
_hue
, zeroLum + (int)((oneLum - zeroLum) * percentLighter), _saturation);