Rectangle.Round
Rectangle.Round method
通过将 RectangleF 的值四舍五入到最近的整数,将指定的 RectangleF 转换为 Rectangle。
public static Rectangle Round(RectangleF value)
| 参数 | 类型 | 描述 |
|---|---|---|
| value | RectangleF | 要转换的 RectangleF。 |
返回值
一个新的 Rectangle。
另请参见
- struct RectangleF
- struct Rectangle
- namespace Aspose.Imaging
- assembly Aspose.Imaging