Point
Overview
Point is a struct in Aspose.Psd FOSS for .NET.
Inherits from: IEquatable<Point>.
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
This struct declares 5 methods for Point objects in .NET programs.
Available methods include: Equals, GetHashCode, Point, ToString.
Public members are accessible to any .NET application after installing the Aspose.Psd FOSS for .NET package.
Properties: Empty, IsEmpty, X, Y.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
X | int | Read/Write | Gets or sets the x-coordinate of this Point. |
Y | int | Read/Write | Gets or sets the y-coordinate of this Point. |
IsEmpty | bool | Read | Gets a value indicating whether this Point has coordinates left uninitialized. |
Empty | Point | Read | Represents a Point with coordinates left uninitialized. |
Methods
| Signature | Description |
|---|---|
Point(x: int, y: int) | Initializes a new instance of the Point structure with the specified coordinates. |
Equals(other: Point) | Determines whether the specified point is equal to this point. |
Equals(obj: object?) | Determines whether the specified object is equal to this point. |
GetHashCode() | Returns a hash code for this point. |
ToString() | Returns a compact coordinate representation. |