Struct Size
Assembly: Terminaux.dll
Syntax
Constructors
|
Edit this page
View Source
Size(int, int)
Makes a new size instance
Declaration
public Size(int width, int height)
Parameters
Type |
Name |
Description |
int |
width |
A zero-based width
|
int |
height |
A zero-based height
|
Properties
|
Edit this page
View Source
Height
Declaration
public readonly int Height { get; }
Property Value
|
Edit this page
View Source
Width
Declaration
public readonly int Width { 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(Size)
Declaration
public bool Equals(Size other)
Parameters
Type |
Name |
Description |
Size |
other |
|
Returns
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.ValueType.GetHashCode()
Operators
|
Edit this page
View Source
operator ==(Size, Size)
Declaration
public static bool operator ==(Size left, Size right)
Parameters
Type |
Name |
Description |
Size |
left |
|
Size |
right |
|
Returns
|
Edit this page
View Source
operator !=(Size, Size)
Declaration
public static bool operator !=(Size left, Size right)
Parameters
Type |
Name |
Description |
Size |
left |
|
Size |
right |
|
Returns