Coordinates Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an (x,y) coordinate pair.
public value class Coordinates
public struct Coordinates
type Coordinates = struct
Public Structure Coordinates
- Inheritance
-
Coordinates
Constructors
Coordinates(Int32, Int32) |
Initializes a new instance of the Coordinates class and defines the X and Y values. |
Properties
X |
Gets and sets the X coordinate. |
Y |
Gets and sets the Y coordinate. |
Methods
Equals(Object) |
Overrides Equals(Object) |
GetHashCode() |
Overrides GetHashCode() |
ToString() |
Overrides ToString() |
Operators
Equality(Coordinates, Coordinates) |
Compares two instances for equality. |
Inequality(Coordinates, Coordinates) |
Compares two instances for inequality. |