Point Structure
Represents an ordered pair of x and y coordinates that define a point in a two-dimensional plane.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Input
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Structure Point
public struct Point
public value class Point
[<Sealed>]
type Point = struct end
JScript supports the use of structures, but not the declaration of new ones.
The Point type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Point(Int32) | Initializes a new instance of the Point class using coordinates specified by an integer value. | |
Point(Int32, Int32) | Initializes a new instance of the class with the specified coordinates. |
Top
Properties
Name | Description | |
---|---|---|
IsEmpty | Gets a value indicating whether this is empty. | |
X | Gets the x-coordinate of this instance. | |
Y | Gets the y-coordinate of this instance. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Specifies whether this System.Drawing.Point contains the same coordinates as the specified System.Object >. (Overrides ValueType.Equals(Object).) | |
GetHashCode | Returns the hash code of the object. (Overrides ValueType.GetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Converts this System.Drawing.Point to a human readable. (Overrides ValueType.ToString.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Compares two System.Drawing.Point objects. The result specifies whether the values of the System.Drawing.Point.X and System.Drawing.Point.Y' properties of the two System.Drawing.Point objects are equal. | |
Inequality | Compares two System.Drawing.Point objects. The result specifies whether the values of the System.Drawing.Point.X and System.Drawing.Point.Y' properties of the two System.Drawing.Point objects are not equal. |
Top
Fields
Name | Description | |
---|---|---|
Empty | Creates a new instance of the Point class with member data left uninitialized. |
Top
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.