This documentation is archived and is not being maintained.

Point Members

Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.

The Point type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Point Overloaded. Initializes a new instance of the Point class with the specified coordinates.
Top

  NameDescription
Public method Static member Add Adds the specified Size to the specified Point.
Public method Static member Ceiling Converts the specified PointF to a Point by rounding the values of the PointF to the next higher integer values.
Public method Supported by the .NET Compact Framework Equals Specifies whether this Point contains the same coordinates as the specified Object. (Overrides ValueType.Equals(Object).)
Protected method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework GetHashCode Returns a hash code for this Point. (Overrides ValueType.GetHashCode().)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Offset Overloaded. Translates the Point by the specified amount.
Public method Static member Round Converts the specified PointF to a Point object by rounding the Point values to the nearest integer.
Public method Static member Subtract Returns the result of subtracting specified Size from the specified Point.
Public method Supported by the .NET Compact Framework ToString Converts this Point to a human-readable string. (Overrides ValueType.ToString().)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Public method Static member Truncate Converts the specified PointF to a Point by truncating the values of the Point.
Top

  NameDescription
Public operator Static member Addition Translates a Point by a given Size.
Public operator Static member Supported by the .NET Compact Framework Equality Compares two Point objects. The result specifies whether the values of the X and Y properties of the two Point objects are equal.
Public operator Static member Explicit Converts the specified Point structure to a Size structure.
Public operator Static member Implicit Converts the specified Point structure to a PointF structure.
Public operator Static member Supported by the .NET Compact Framework Inequality Compares two Point objects. The result specifies whether the values of the X or Y properties of the two Point objects are unequal.
Public operator Static member Subtraction Translates a Point by the negative of a given Size.
Top

  NameDescription
Public field Static member Supported by the .NET Compact Framework Empty Represents a Point that has X and Y values set to zero.
Top

  NameDescription
Public property Supported by the .NET Compact Framework IsEmpty Gets a value indicating whether this Point is empty.
Public property Supported by the .NET Compact Framework X Gets or sets the x-coordinate of this Point.
Public property Supported by the .NET Compact Framework Y Gets or sets the y-coordinate of this Point.
Top
Show: