4 instantiations of SolidPaint
Microsoft.Maui (1)
Animations\AnimationLerpingExtensions.cs (1)
62 return new SolidPaint(color.Lerp(endColor, progress));
Microsoft.Maui.Controls (2)
Brush\Brush.cs (1)
57 return new SolidPaint { Color = solidColorBrush.Color };
SwipeView\SwipeItem.cs (1)
33 Paint ISwipeItemMenuItem.Background => new SolidPaint(BackgroundColor);
Microsoft.Maui.Graphics (1)
Color.cs (1)
145 return new SolidPaint()
15 references to SolidPaint
Microsoft.Maui (11)
Animations\AnimationLerpingExtensions.cs (3)
58 public static SolidPaint Lerp(this SolidPaint paint, SolidPaint endPaint, double progress)
Animations\Lerp.cs (5)
159 [typeof(SolidPaint)] = new Lerp 163 var start = (SolidPaint)s; 164 var end = (SolidPaint)e;
Graphics\PaintExtensions.cs (3)
10 if (paint is SolidPaint solidPaint) 27 if (paint is SolidPaint solidPaint) 44 if (paint is SolidPaint solidPaint)
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
16 if (paint is SolidPaint solidPaint)
Microsoft.Maui.Graphics (1)
SolidPaint.cs (1)
26 return $"[{nameof(SolidPaint)}: Color={Color}]";
Microsoft.Maui.Graphics.Skia (1)
SkiaCanvas.cs (1)
236 if (paint is SolidPaint solidPaint)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (1)
385 if (paint is SolidPaint solidPaint)