RectangleF.FromLeftTopRightBottom
RectangleF.FromLeftTopRightBottom method
创建一个 RectangleF 结构,其左上角和右下角位于指定位置。
public static RectangleF FromLeftTopRightBottom(float left, float top, float right, float bottom)
| 参数 | 类型 | 描述 |
|---|---|---|
| 左 | 单精度 | 矩形区域左上角的 x 坐标。 |
| 上 | 单精度 | 矩形区域左上角的 y 坐标。 |
| 右 | 单精度 | 矩形区域右下角的 x 坐标。 |
| 下 | 单精度 | 矩形区域右下角的 y 坐标。 |
返回值
此方法创建的新的 RectangleF。
另请参见
- struct RectangleF
- namespace Aspose.Imaging
- assembly Aspose.Imaging