Struct Coordinate
Assembly: Terminaux.dll
Syntax
Constructors
|
Edit this page
View Source
Coordinate(int, int)
Makes a new coordinate instance
Declaration
public Coordinate(int x, int y)
Parameters
Type |
Name |
Description |
int |
x |
A zero-based X coordinate
|
int |
y |
A zero-based Y coordinate
|
Properties
|
Edit this page
View Source
X
Declaration
public readonly int X { get; }
Property Value
|
Edit this page
View Source
Y
Declaration
public readonly int Y { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
System.ValueType.Equals(object)
|
Edit this page
View Source
Equals(Coordinate)
Declaration
public bool Equals(Coordinate other)
Parameters
Returns
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.ValueType.GetHashCode()
Operators
|
Edit this page
View Source
operator ==(Coordinate, Coordinate)
Declaration
public static bool operator ==(Coordinate left, Coordinate right)
Parameters
Returns
|
Edit this page
View Source
operator !=(Coordinate, Coordinate)
Declaration
public static bool operator !=(Coordinate left, Coordinate right)
Parameters
Returns