RectF 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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