17 references to RectF
Microsoft.Maui.Controls (2)
Platform\AlertManager\AlertManager.iOS.cs (2)
113 alert.View.Frame = new RectF((float)oldFrame.X, (float)oldFrame.Y, (float)oldFrame.Width, (float)oldFrame.Height - AlertPadding * 2); 142 alert.View.Frame = new RectF((float)oldFrame.X, (float)oldFrame.Y, (float)oldFrame.Width, (float)oldFrame.Height - AlertPadding * 2);
Microsoft.Maui.Controls.Compatibility (1)
iOS\VisualElementTracker.cs (1)
263 var target = new RectF(x, y, width, height);
Microsoft.Maui.Graphics (12)
CanvasExtensions.cs (3)
250 var rectangle = new RectF(x, y, width, height); 380 target.SetFillPaint(paint, new RectF((float)point1.X, (float)point1.Y, (float)point2.X, (float)point2.Y)); 385 target.SetFillPaint(paint, new RectF(point1.X, point1.Y, point2.X, point2.Y));
PathF.cs (1)
1449 _cachedBounds = new RectF(l, t, r - l, b - t);
PictureExtensions.cs (1)
9 return new RectF(target.X, target.Y, target.Width, target.Height);
Rect.cs (1)
220 public static implicit operator RectF(Rect rect) => new RectF((float)rect.X, (float)rect.Y, (float)rect.Width, (float)rect.Height);
RectF.cs (5)
37 public RectF(PointF loc, SizeF sz) : this(loc.X, loc.Y, sz.Width, sz.Height) 43 return new RectF(left, top, right - left, bottom - top); 127 return new RectF(x, y, width, height); 210 return new RectF(MathF.Round(X), MathF.Round(Y), MathF.Round(Width), MathF.Round(Height)); 234 rectangleF = new RectF(x, y, w, h);
ScalingCanvas.cs (1)
205 _canvas.SetFillPaint(paint, new RectF(rectangle.X * _scaleX, rectangle.Y * _scaleY, rectangle.Width * _scaleX, rectangle.Height * _scaleY));
Microsoft.Maui.Graphics.Skia (2)
SKGraphicsExtensions.cs (1)
71 return new RectF(target.Left, target.Top, MathF.Abs(target.Right - target.Left), MathF.Abs(target.Bottom - target.Top));
SkiaCanvas.cs (1)
659 var rect = new RectF(x, y, width, height);