2 types derived from GradientPaint
Microsoft.Maui.Graphics (2)
LinearGradientPaint.cs (1)
3
public class LinearGradientPaint :
GradientPaint
RadialGradientPaint.cs (1)
3
public class RadialGradientPaint :
GradientPaint
11 references to GradientPaint
Microsoft.Maui (6)
Graphics\PaintExtensions.cs (2)
13
if (paint is
GradientPaint
gradientPaint)
30
if (paint is
GradientPaint
gradientPaint)
Graphics\PaintExtensions.iOS.cs (1)
44
public static CALayer? CreateCALayer(this
GradientPaint
gradientPaint, CGRect frame = default)
Platform\iOS\MauiCALayer.cs (1)
379
if (paint is
GradientPaint
gradientPaint)
Platform\iOS\SearchBarExtensions.cs (1)
41
if (background is
GradientPaint
gradientPaint)
Platform\iOS\ViewExtensions.cs (1)
98
else if (paint is
GradientPaint
gradientPaint)
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
19
if (paint is
GradientPaint
gradientPaint)
Microsoft.Maui.Graphics (4)
GradientPaint.cs (2)
17
public GradientPaint(
GradientPaint
source)
260
return $"[{nameof(
GradientPaint
)}: StartColor={StartColor}, EndColor={EndColor}]";
LinearGradientPaint.cs (1)
11
public LinearGradientPaint(
GradientPaint
gradientPaint) : base(gradientPaint)
RadialGradientPaint.cs (1)
11
public RadialGradientPaint(
GradientPaint
gradientPaint) : base(gradientPaint)