Skip to content

Struct CellSize

A width and height in cells.

Declaration
public readonly struct CellSize
Declaration
public readonly int Width
Declaration
public readonly int Height

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(CellSize other)

System.Boolean: true if the current object is equal to the other parameter; otherwise, false.

Type Name Description
DarkEffekt.Terminal.UI.CellSize other An object to compare with this object.

Indicates whether this instance and a specified object are equal.

Declaration
public override bool Equals(object obj)

System.Boolean: true if obj and this instance are the same type and represent the same value; otherwise, false.

Type Name Description
System.Object obj The object to compare with the current instance.

Returns the hash code for this instance.

Declaration
public override int GetHashCode()

System.Int32: A 32-bit signed integer that is the hash code for this instance.

Returns the fully qualified type name of this instance.

Declaration
public override string ToString()

System.String: The fully qualified type name.