Point & PointF IronDrawing introduces two new classes: IronSoftware.Drawing.Point and IronSoftware.Drawing.PointF. These classes are used to represent an ordered pair of double-x and double-y coordinates, defining a point in a two-dimensional plane, which is useful for image processing. Similar classes are present in other image libraries such as System.Drawing, SixLabors.ImageSharp, SkiaSharp, and Microsoft.Maui.Graphics. The difference between the Point and PointF classes lies in the type of value accepted as a parameter in the constructor of the Point and PointF objects. Instantiating a new Point or PointF object is straightforward, requiring only two properties to be set: X and Y values that make up the coordinates of the point. Point is instantiated using System.Double values to set the x and y properties of the Point object. PointF is instantiated using System.Single values (float values) for the same purpose. Both IronSoftware.Drawing.Point and IronSoftware.Drawing.PointF classes share the same functionality and methods. Using System.Double is often preferred due to its higher accuracy, accepting larger decimal point values, and representing double precision as a 64-bit floating-point type. On the other hand, System.Single is a 32-bit floating-point type, providing lower precision compared to System.Double. As a result, it is recommended to use IronSoftware.Drawing.Point rather than IronSoftware.Drawing.PointF. 相关文档链接 在Github上查看 相关教程 相关操作指南 类文档 下载IronDrawing DLL 在此页面上报告问题 准备开始了吗? Nuget 下载 13,318,306 | 版本: 2025.3 刚刚发布 免费 NuGet 下载 总下载量:13,318,306 查看许可证