10 references to Lighter
System.Windows.Forms (10)
System\Windows\Forms\Rendering\ControlPaint.cs (10)
756
: hlsColor.
Lighter
(1.0f - i * inc));
815
: hlsColor.
Lighter
(1.0f - i * inc));
884
: hlsColor.
Lighter
(1.0f - i * inc));
958
: hlsColor.
Lighter
(1.0f - i * inc));
1070
using var lightPen = hls.
Lighter
(1.0f).GetCachedPenScope();
1079
using var mediumPen = hls.
Lighter
(0.5f).GetCachedPenScope();
1104
using var lightPen = (stockColor ? SystemColors.ControlLightLight : hls.
Lighter
(1.0f)).GetCachedPenScope();
2266
=> new HLSColor(baseColor).
Lighter
(percOfLightLight);
2271
public static Color Light(Color baseColor) => new HLSColor(baseColor).
Lighter
(0.5f);
2276
public static Color LightLight(Color baseColor) => new HLSColor(baseColor).
Lighter
(1.0f);