System::Drawing::RectangleF::FromLTRB 方法
RectangleF::FromLTRB method
构造一个新的 RectangleF 对象,该对象表示具有指定边缘位置的矩形。
static RectangleF System::Drawing::RectangleF::FromLTRB(float left, float top, float right, float bottom)
| Parameter | Type | 描述 |
|---|---|---|
| 左 | 单精度浮点数 | 矩形左边缘的 X 坐标 |
| 上 | 单精度浮点数 | 矩形上边缘的 Y 坐标 |
| 右 | 单精度浮点数 | 矩形右边缘的 X 坐标 |
| 下 | 单精度浮点数 | 矩形下边缘的 Y 坐标 |
ReturnValue
RectangleF 类的实例,表示指定的矩形
另见
- Class RectangleF
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.Page for C++