4 writes to EndPoint
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
76 return new LinearGradientPaint { GradientStops = gradientStops, StartPoint = startPoint, EndPoint = endPoint };
Microsoft.Maui.Graphics (3)
LinearGradientPaint.cs (3)
8 EndPoint = new Point(1, 1); 24 EndPoint = endPoint; 31 EndPoint = endPoint;
8 references to EndPoint
Microsoft.Maui (3)
Graphics\PaintExtensions.iOS.cs (1)
58 var p2 = linearGradientPaint.EndPoint;
Platform\iOS\MauiCALayer.cs (2)
400 new CGPoint(_bounds.Left + linearGradientPaint.EndPoint.X * _bounds.Width, _bounds.Top + linearGradientPaint.EndPoint.Y * _bounds.Height),
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
34 var endPoint = linearGradientPaint.EndPoint;
Microsoft.Maui.Graphics.Skia (2)
SkiaCanvas.cs (2)
245 float x2 = (float)(linearGradientPaint.EndPoint.X * rectangle.Width) + rectangle.X; 246 float y2 = (float)(linearGradientPaint.EndPoint.Y * rectangle.Height) + rectangle.Y;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (2)
472 float x2 = (float)(linearGradientPaint.EndPoint.X * rectangle.Width) + rectangle.X; 473 float y2 = (float)(linearGradientPaint.EndPoint.Y * rectangle.Height) + rectangle.Y;