Rectangle & RectangleF IronDrawing provides two classes that allow you to draw a rectangle at particular coordinates: IronSoftware.Drawing.Rectangle and IronSoftware.Drawing.RectangleF. These classes contain a set of four parameters that represent the location and size of the rectangle drawn. These classes take x and y coordinates from the top-left corner of the rectangle. The Rectangle class uses int types for these coordinates, while the RectangleF class uses float types. The last two parameters represent the width and height of the rectangle, using the same data types as indicated for the x and y coordinate parameters. The default unit for both classes is pixels. 相关文档链接 在Github上查看 相关教程 相关操作指南 类文档 下载IronDrawing DLL 在此页面上报告问题 准备开始了吗? Nuget 下载 13,318,306 | 版本: 2025.3 刚刚发布 免费 NuGet 下载 总下载量:13,318,306 查看许可证