2 types derived from GradientBrush
Microsoft.Maui.Controls (2)
LinearGradientBrush.cs (1)
7 public class LinearGradientBrush : GradientBrush
RadialGradientBrush.cs (1)
7 public class RadialGradientBrush : GradientBrush
15 references to GradientBrush
Microsoft.Maui.Controls (12)
Brush\Brush.cs (1)
59 if (brush is GradientBrush gradientBrush)
Brush\BrushTypeConverter.cs (3)
60 var brush = gradientBrushParser.Parse(strValue); 97 GradientBrush _gradient; 106 public GradientBrush Parse(string css)
GradientBrush.cs (2)
22 BindableProperty.Create(nameof(GradientStops), typeof(GradientStopCollection), typeof(GradientBrush), null, 37 (bindable as GradientBrush)?.UpdateGradientStops(oldValue as GradientStopCollection, newValue as GradientStopCollection);
Shapes\Shape.cs (3)
490 if (s is GradientBrush g) 495 if (source is GradientBrush gradientBrush) 507 if (s is GradientBrush g)
VisualElement\VisualElement.cs (3)
364 if (s is GradientBrush g) 369 if (source is GradientBrush gradientBrush) 381 if (s is GradientBrush g)
Microsoft.Maui.Controls.Compatibility (3)
iOS\Shapes\ShapeRenderer.cs (3)
487 if (_fill is GradientBrush fillGradientBrush) 514 if (_stroke is GradientBrush strokeGradientBrush) 540 void RenderBrush(CGContext graphics, CGRect pathBounds, GradientBrush brush)