10 references to Lighter
System.Windows.Forms (10)
System\Windows\Forms\Rendering\ControlPaint.cs (10)
753
: hlsColor.
Lighter
(1.0f - i * inc));
812
: hlsColor.
Lighter
(1.0f - i * inc));
881
: hlsColor.
Lighter
(1.0f - i * inc));
955
: hlsColor.
Lighter
(1.0f - i * inc));
1067
using var lightPen = hls.
Lighter
(1.0f).GetCachedPenScope();
1076
using var mediumPen = hls.
Lighter
(0.5f).GetCachedPenScope();
1101
using var lightPen = (stockColor ? SystemColors.ControlLightLight : hls.
Lighter
(1.0f)).GetCachedPenScope();
2262
=> new HLSColor(baseColor).
Lighter
(percOfLightLight);
2267
public static Color Light(Color baseColor) => new HLSColor(baseColor).
Lighter
(0.5f);
2272
public static Color LightLight(Color baseColor) => new HLSColor(baseColor).
Lighter
(1.0f);