Share via


Point Structure

Defines a point.

  public struct Point

Public Instance Constructors

Method Description
Point Initializes a new instance of the Point structure.

Public Static Methods

Method Description
Add Combines two Point structures.
Subtract Subtracts one Point structure from another.

Public Instance Methods

Method Description
Equals Tests whether the specified object is a Point structure and is equivalent to the current Point structure.
GetHashCode Returns a hash code for this structure.
ToString Converts this structure to a human-readable string.

Public Operators

Operator Description
Addition Combines two Point structures.
Equality Tests whether two specified Point structures are equivalent.
Inequality Tests whether two Point structures are different.
Subtraction Subtracts one Point structure from another.

Public Static Fields

Field Description
Zero Represents a zero point.

Public Instance Properties

Property Description
X Gets or sets the value of point X.
Y Gets or sets the value of point Y.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also