10 references to Lighter
System.Windows.Forms (10)
System\Windows\Forms\Rendering\ControlPaint.cs (10)
788
: hlsColor.
Lighter
(1.0f - i * inc));
847
: hlsColor.
Lighter
(1.0f - i * inc));
916
: hlsColor.
Lighter
(1.0f - i * inc));
990
: hlsColor.
Lighter
(1.0f - i * inc));
1102
using var lightPen = hls.
Lighter
(1.0f).GetCachedPenScope();
1111
using var mediumPen = hls.
Lighter
(0.5f).GetCachedPenScope();
1136
using var lightPen = (stockColor ? SystemColors.ControlLightLight : hls.
Lighter
(1.0f)).GetCachedPenScope();
2320
=> new HLSColor(baseColor).
Lighter
(percOfLightLight);
2325
public static Color Light(Color baseColor) => new HLSColor(baseColor).
Lighter
(0.5f);
2330
public static Color LightLight(Color baseColor) => new HLSColor(baseColor).
Lighter
(1.0f);