Rect 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| Rect(Point, Size) | |
| Rect(Double, Double, Double, Double) |
Rect(Point, Size)
public:
Rect(Microsoft::Maui::Graphics::Point loc, Microsoft::Maui::Graphics::Size sz);
public Rect (Microsoft.Maui.Graphics.Point loc, Microsoft.Maui.Graphics.Size sz);
new Microsoft.Maui.Graphics.Rect : Microsoft.Maui.Graphics.Point * Microsoft.Maui.Graphics.Size -> Microsoft.Maui.Graphics.Rect
Public Sub New (loc As Point, sz As Size)
參數
- loc
- Point
- sz
- Size
適用於
Rect(Double, Double, Double, Double)
public:
Rect(double x, double y, double width, double height);
public Rect (double x, double y, double width, double height);
new Microsoft.Maui.Graphics.Rect : double * double * double * double -> Microsoft.Maui.Graphics.Rect
Public Sub New (x As Double, y As Double, width As Double, height As Double)
參數
- x
- Double
- y
- Double
- width
- Double
- height
- Double