Share via


RectF Constructors

Definition

Overloads

RectF(PointF, SizeF)
RectF(Single, Single, Single, Single)

RectF(PointF, SizeF)

public:
 RectF(Microsoft::Maui::Graphics::PointF loc, Microsoft::Maui::Graphics::SizeF sz);
public RectF (Microsoft.Maui.Graphics.PointF loc, Microsoft.Maui.Graphics.SizeF sz);
new Microsoft.Maui.Graphics.RectF : Microsoft.Maui.Graphics.PointF * Microsoft.Maui.Graphics.SizeF -> Microsoft.Maui.Graphics.RectF
Public Sub New (loc As PointF, sz As SizeF)

Parameters

loc
PointF
sz
SizeF

Applies to

RectF(Single, Single, Single, Single)

public:
 RectF(float x, float y, float width, float height);
public RectF (float x, float y, float width, float height);
new Microsoft.Maui.Graphics.RectF : single * single * single * single -> Microsoft.Maui.Graphics.RectF
Public Sub New (x As Single, y As Single, width As Single, height As Single)

Parameters

x
Single
y
Single
width
Single
height
Single

Applies to