31 references to Black
Microsoft.Maui (5)
Animations\AnimationLerpingExtensions.cs (4)
9 color ??= Colors.Black; 10 endColor ??= Colors.Black; 60 var color = paint?.Color ?? Colors.Black; 61 var endColor = endPaint?.Color ?? Colors.Black;
Platform\SwipeViewExtensions.cs (1)
19 return (luminosity < 0.75f ? Colors.White : Colors.Black);
Microsoft.Maui.Controls (7)
Brush\Brush.cs (2)
141 /// <summary>Gets a <see cref="SolidColorBrush"/> of the system-defined color <see cref="Colors.Black"/>.</summary> 142 public static SolidColorBrush Black => black ??= new(Colors.Black);
IndicatorView\IndicatorView.cs (1)
45 public static readonly BindableProperty SelectedIndicatorColorProperty = BindableProperty.Create(nameof(SelectedIndicatorColor), typeof(Color), typeof(IndicatorView), Colors.Black);
Shell\BaseShellItem.cs (3)
405 Value = new AppThemeBinding() { Light = Colors.Black.MultiplyAlpha(0.1f), Dark = Colors.White.MultiplyAlpha(0.1f) } 494 textColor = Colors.Black.MultiplyAlpha(0.87f); 498 textColor = new AppThemeBinding { Light = Colors.Black.MultiplyAlpha(0.87f), Dark = Colors.White };
Shell\Shell.cs (1)
1174 new AppThemeBinding { Light = Colors.White, Dark = Colors.Black, Mode = BindingMode.OneWay });
Microsoft.Maui.Graphics (6)
CanvasExtensions.cs (2)
341 canvas.StrokeColor = Colors.Black; 346 SetFillPattern(target, pattern, Colors.Black);
Color.cs (1)
773 "black" => Colors.Black,
PaintPattern.cs (2)
33 canvas.StrokeColor = Colors.Black; 34 canvas.FillColor = Colors.Black;
PatternExtensions.cs (1)
7 return AsPaint(target, Colors.Black);
Microsoft.Maui.Graphics.Skia (5)
SkiaCanvas.cs (3)
77 set => CurrentState.StrokeColor = value ?? Colors.Black; 82 set => CurrentState.FontColor = value ?? Colors.Black; 733 var actualColor = Colors.Black.AsSKColorMultiplyAlpha(CurrentState.Alpha);
SkiaCanvasState.cs (2)
28 private Color _strokeColor = Colors.Black; 30 private Color _fontColor = Colors.Black;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (8)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (8)
148 _sourceStrokeColor = Colors.Black; 170 _sourceFontColor = Colors.Black; 206 var finalValue = value ?? Colors.Black; 390 var finalValue = value ?? Colors.Black; 557 _fontBrush = new CanvasSolidColorBrush(_owner.Session, _sourceFontColor.AsColor(Colors.Black, _alpha)); 559 _fontBrush.Color = _sourceFontColor.AsColor(Colors.Black, _alpha); 571 _strokeBrush = new CanvasSolidColorBrush(_owner.Session, _sourceStrokeColor.AsColor(Colors.Black, _alpha)); 576 _strokeBrush.Color = _sourceStrokeColor.AsColor(Colors.Black, _alpha);