共用方式為


RectF 建構函式

定義

多載

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)

參數

loc
PointF
sz
SizeF

適用於

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)

參數

x
Single
y
Single
width
Single
height
Single

適用於