Bagikan melalui


Point Members

The following tables list the members exposed by the Point type.

Public Constructors

Name Description
Public Method Point Initializes a new instance of Point.

Public Fields

Name Description
Public Field X Specifies the x-coordinate of the Point.
Public Field Y Specifies the y-coordinate of the Point.

Public Properties

Name Description
Public Property Static Zero Returns the point (0,0).

Public Methods

Name Description
Public Method Equals Overloaded. Determines whether two Point instances are equal.
Public Method GetHashCode Gets the hash code for this object.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Determines whether two Point instances are equal.
Public Method Static op_Inequality Determines whether two Point instances are not equal.
Public Method ToString Returns a String that represents the current Point.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Point Structure
Microsoft.Xna.Framework Namespace