Table of Contents

Struct Size

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Stores an ordered pair of integers, which specify a Height and Width.

public struct Size
Inherited Members

Constructors

Size(int, int)

Size Constructor

Size(Point)

Size Constructor

Fields

Empty

Gets a Size structure that has a Height and Width value of 0.

Properties

Height

Height Property

IsEmpty

IsEmpty Property

Width

Width Property

Methods

Add(Size, Size)

Adds the width and height of one Size structure to the width and height of another Size structure.

Equals(object)

Equals Method

GetHashCode()

GetHashCode Method

Subtract(Size, Size)

Subtracts the width and height of one Size structure to the width and height of another Size structure.

ToString()

ToString Method

Operators

operator +(Size, Size)

Addition Operator

operator ==(Size, Size)

Equality Operator

explicit operator Point(Size)

Size to Point Conversion

operator !=(Size, Size)

Inequality Operator

operator -(Size, Size)

Subtraction Operator