RectangleF
RectangleF(PointF, SizeF)
使用指定的位置和大小初始化 RectangleF 结构的新实例。
public RectangleF(PointF location, SizeF size)
范围 | 类型 | 描述 |
---|---|---|
location | PointF | 表示矩形区域左上角的 PointF。 |
size | SizeF | 一个 SizeF,表示矩形区域的宽度和高度。 |
也可以看看
- struct PointF
- struct SizeF
- struct RectangleF
- 命名空间 System.Drawing
- 部件 Aspose.Drawing
RectangleF(float, float, float, float)
使用指定的位置和大小初始化 RectangleF 结构的新实例。
public RectangleF(float x, float y, float width, float height)
范围 | 类型 | 描述 |
---|---|---|
x | Single | 矩形左上角的 x 坐标。 |
y | Single | 矩形左上角的 y 坐标。 |
width | Single | 矩形的宽度。 |
height | Single | 矩形的高度。 |
也可以看看
- struct RectangleF
- 命名空间 System.Drawing
- 部件 Aspose.Drawing