10 references to Lighter
System.Windows.Forms (10)
System\Windows\Forms\Rendering\ControlPaint.cs (10)
781
: hlsColor.
Lighter
(1.0f - i * inc));
840
: hlsColor.
Lighter
(1.0f - i * inc));
909
: hlsColor.
Lighter
(1.0f - i * inc));
983
: hlsColor.
Lighter
(1.0f - i * inc));
1095
using var lightPen = hls.
Lighter
(1.0f).GetCachedPenScope();
1104
using var mediumPen = hls.
Lighter
(0.5f).GetCachedPenScope();
1129
using var lightPen = (stockColor ? SystemColors.ControlLightLight : hls.
Lighter
(1.0f)).GetCachedPenScope();
2314
=> new HLSColor(baseColor).
Lighter
(percOfLightLight);
2319
public static Color Light(Color baseColor) => new HLSColor(baseColor).
Lighter
(0.5f);
2324
public static Color LightLight(Color baseColor) => new HLSColor(baseColor).
Lighter
(1.0f);