This documentation is archived and is not being maintained.

Point Members

Represents an x- and y-coordinate pair in two-dimensional space.

The Point type exposes the following members.

Public method Point Creates a new Point structure that contains the specified coordinates.

Public method Static member Add Adds a Vector to a Point and returns the result as a Point structure.
Public method Static member Equals Overloaded. Compares two Point structures for equality.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this Point. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Multiply Transforms the specified Point structure by the specified Matrix structure.
Public method Offset Offsets a point's X and Y coordinates by the specified amounts.
Public method Static member Parse Constructs a Point from the specified String.
Public method Static member Subtract Overloaded. Subtracts the specified Point or Vector from the specified Point.
Public method ToString Overloaded. Creates a String representation of this Point structure.

Public operator Static member Addition Translates the specified Point by the specified Vector and returns the result.
Public operator Static member Equality Compares two Point structures for equality.
Public operator Static member Explicit Overloaded. Converts a Point into a Size or a Vector.
Public operator Static member Inequality Compares two Point structures for inequality.
Public operator Static member Multiply Transforms the specified Point by the specified Matrix.
Public operator Static member Subtraction Overloaded. Subtracts the specified Vector or Point from the specified Point.

Public property X Gets or sets the X-coordinate value of this Point structure.
Public property Y Gets or sets the Y-coordinate value of this Point.

Explicit interface implemetation Private method IFormattable.ToString This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. For a description of this member, see ToString.