Struct CellSize
A width and height in cells.
Assembly: DarkEffekt.Terminal.UI
Section titled “Assembly: DarkEffekt.Terminal.UI”public readonly struct CellSizeFields
Section titled “Fields”public readonly int WidthHeight
Section titled “Height”public readonly int HeightMethods
Section titled “Methods”Equals(CellSize)
Section titled “Equals(CellSize)”Indicates whether the current object is equal to another object of the same type.
public bool Equals(CellSize other)Returns
Section titled “Returns”System.Boolean: true if the current object is equal to the other parameter; otherwise, false.
Parameters
Section titled “Parameters”| Type | Name | Description |
|---|---|---|
| DarkEffekt.Terminal.UI.CellSize | other | An object to compare with this object. |
Equals(object)
Section titled “Equals(object)”Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)Returns
Section titled “Returns”System.Boolean: true if obj and this instance are the same type and represent the same value; otherwise, false.
Parameters
Section titled “Parameters”| Type | Name | Description |
|---|---|---|
System.Object |
obj | The object to compare with the current instance. |
GetHashCode()
Section titled “GetHashCode()”Returns the hash code for this instance.
public override int GetHashCode()Returns
Section titled “Returns”System.Int32: A 32-bit signed integer that is the hash code for this instance.
ToString()
Section titled “ToString()”Returns the fully qualified type name of this instance.
public override string ToString()Returns
Section titled “Returns”System.String: The fully qualified type name.