4 writes to Center
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
84
return new RadialGradientPaint { GradientStops = gradientStops,
Center
= center, Radius = radius };
Microsoft.Maui.Graphics (3)
RadialGradientPaint.cs (3)
7
Center
= new Point(0.5, 0.5);
23
Center
= center;
30
Center
= center;
10 references to Center
Microsoft.Maui (5)
Graphics\PaintExtensions.iOS.cs (1)
81
var center = radialGradientPaint.
Center
;
Platform\iOS\MauiCALayer.cs (4)
408
new CGPoint(radialGradientPaint.
Center
.X * _bounds.Width + _bounds.Left, radialGradientPaint.
Center
.Y * _bounds.Height + _bounds.Top),
410
new CGPoint(radialGradientPaint.
Center
.X * _bounds.Width + _bounds.Left, radialGradientPaint.
Center
.Y * _bounds.Height + _bounds.Top),
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
41
var center = radialGradientPaint.
Center
;
Microsoft.Maui.Graphics.Skia (2)
SkiaCanvas.cs (2)
289
float centerX = (float)(radialGradientPaint.
Center
.X * rectangle.Width) + rectangle.X;
290
float centerY = (float)(radialGradientPaint.
Center
.Y * rectangle.Height) + rectangle.Y;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (2)
484
float centerX = (float)(radialGradientPaint.
Center
.X * rectangle.Width) + rectangle.X;
485
float centerY = (float)(radialGradientPaint.
Center
.Y * rectangle.Height) + rectangle.Y;