FromPoints
RectangleF.FromPoints method
创建一个新的Rectangle从指定的两点。创建的两个verticleRectangle将等于通过point1和point2.这些通常是相反的顶点。
public static RectangleF FromPoints(PointF point1, PointF point2)
| 范围 | 类型 | 描述 |
|---|---|---|
| point1 | PointF | 首先Point对于新的矩形。 |
| point2 | PointF | 第二Point对于新的矩形。 |
返回值
一个新创建的Rectangle.
也可以看看
- struct PointF
- struct RectangleF
- 命名空间 Aspose.Imaging
- 部件 Aspose.Imaging