Point

Point class

Represents a point.

public sealed class Point : IEquatable<Point>

Constructors

Name Description
Point(double, double) Initializes a new instance of the Point class.

Properties

Name Description
X { get; } Gets the x-coordinate.
Y { get; } Gets the y-coordinate.

Methods

Name Description
static Parse(string) Converts the string representation of a point to its class equivalent.
override Equals(object) Determines whether the current Point is the same as specified object.
Equals(Point) Determines whether the current Point is the same as specified Point object.
override GetHashCode() Returns the hash code for the current Point object.
override ToString() Converts the value of this instance to String.
static TryParse(string, out Point) Converts the string representation of a point to its class equivalent. A return value indicates whether the conversion is succeeded or failed.
operator == Determines whether two Point objects are the same.
operator != Determines whether two Point objects are not the same.

See Also