This topic has not yet been rated - Rate this topic

Point Structure

Defines a point in 2D space.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
public struct Point

The Point type exposes the following members.

  NameDescription
Public methodPointInitializes a new instance of Point.
Top
  NameDescription
Public propertyStatic memberZeroReturns the point (0,0).
Top
  NameDescription
Public methodEquals(Object)Determines whether two Point instances are equal. (Overrides ValueType.Equals(Object).)
Public methodEquals(Point)Determines whether two Point instances are equal.
Public methodGetHashCodeGets the hash code for this object. (Overrides ValueType.GetHashCode().)
Public methodToStringReturns a String that represents the current Point. (Overrides ValueType.ToString().)
Top
  NameDescription
Public operatorStatic memberEqualityDetermines whether two Point instances are equal.
Public operatorStatic memberInequalityDetermines whether two Point instances are not equal.
Top
  NameDescription
Public fieldXSpecifies the x-coordinate of the Point.
Public fieldYSpecifies the y-coordinate of the Point.
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.