Point
Overview
Point is a class in Aspose.PDF FOSS for .NET.
Represents a point in 2D space.
This class provides 5 methods for working with Point objects in .NET programs.
Available methods include: Distance, NearEqual, Point, ToPoint, ToString.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Trivial, X, Y.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
X | double | Read/Write | Gets or sets the x. |
Y | double | Read/Write | Gets or sets the y. |
Trivial | Point | Read | Origin point (0, 0). |
Methods
| Signature | Description |
|---|---|
Point(x: double, y: double) | Calls Point on this Point instance. |
NearEqual(other: Point, delta: double) | Checks whether this point is approximately equal to another within a given tolerance. |
Distance(point1: Point, point2: Point) | Euclidean distance between two points. |
ToPoint() | Convert to a PointF. |
ToString() | Calls ToString on this Point instance. |