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

NameTypeAccessDescription
XintRead/WriteGets or sets the x-coordinate of this Point.
YintRead/WriteGets or sets the y-coordinate of this Point.
IsEmptyboolReadGets a value indicating whether this Point has coordinates left uninitialized.
EmptyPointReadRepresents a Point with coordinates left uninitialized.

Methods

SignatureDescription
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.

See Also