Struct Point

Point structure

Point structure

public struct Point

Constructors

Name Description
Point(float, float) Initializes a new instance of the Point struct.

Properties

Name Description
X { get; set; } Gets or sets the X coordinate value.
Y { get; set; } Gets or sets the Y coordinate value.

Methods

Name Description
override Equals(object) Determines whether the specified point is equal to the current point.
override GetHashCode() Serves as the default hash function.
operator == Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are equal.
operator != Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are not equal.

See Also