1 instantiation of LinearGradientPaint
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
76 return new LinearGradientPaint { GradientStops = gradientStops, StartPoint = startPoint, EndPoint = endPoint };
12 references to LinearGradientPaint
Microsoft.Maui (8)
Graphics\PaintExtensions.iOS.cs (3)
17 if (paint is LinearGradientPaint linearGradientPaint) 46 if (gradientPaint is LinearGradientPaint linearGradientPaint) 55 public static CALayer? CreateCALayer(this LinearGradientPaint linearGradientPaint, CGRect frame = default)
Platform\iOS\MauiCALayer.cs (5)
110 else if (paint is LinearGradientPaint linearGradientPaint) 134 public void SetBackground(LinearGradientPaint linearGradientPaint) 165 if (paint is LinearGradientPaint linearGradientPaint) 189 public void SetBorderBrush(LinearGradientPaint linearGradientPaint) 395 if (gradientPaint is LinearGradientPaint linearGradientPaint)
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
31 if (gradientPaint is LinearGradientPaint linearGradientPaint)
Microsoft.Maui.Graphics.Skia (1)
SkiaCanvas.cs (1)
240 else if (paint is LinearGradientPaint linearGradientPaint)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (1)
467 if (paint is LinearGradientPaint linearGradientPaint)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (1)
339 if (_sourceFillpaint is LinearGradientPaint linearGradientPaint)