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