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