Point Structure
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Defines a point in 2D space.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Structure Point
public struct Point
The Point type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether two Point instances are equal. (Overrides ValueType.Equals(Object).) | |
Equals(Point) | Determines whether two Point instances are equal. | |
GetHashCode | Gets the hash code for this object. (Overrides ValueType.GetHashCode().) | |
ToString | Returns a String that represents the current Point. (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two Point instances are equal. | |
Inequality | Determines whether two Point instances are not equal. |
Top
Fields
Name | Description | |
---|---|---|
X | Specifies the x-coordinate of the Point. | |
Y | Specifies the y-coordinate of the Point. |
Top
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.