Table of Contents

Struct Rect

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Stores a set of four integers that represent the location and size of a rectangle

public struct Rect
Inherited Members

Constructors

Rect(int, int, int, int)

Rectangle Constructor

Rect(Point, Size)

Rectangle Constructor

Fields

Empty

Empty Shared Field

X

Gets or sets the x-coordinate of the upper-left corner of this Rectangle structure.

Y

Gets or sets the y-coordinate of the upper-left corner of this Rectangle structure.

Properties

Bottom

Bottom Property

Height

Gets or sets the height of this Rectangle structure.

IsEmpty

IsEmpty Property

Left

Left Property

Location

Location Property

Right

Right Property

Size

Size Property

Top

Top Property

Width

Gets or sets the width of this Rect structure.

Methods

Contains(int, int)

Contains Method

Contains(Point)

Contains Method

Contains(Rect)

Contains Method

Equals(object)

Equals Method

FromLTRB(int, int, int, int)

FromLTRB Shared Method

GetHashCode()

GetHashCode Method

Inflate(int, int)

Inflate Method

Inflate(Rect, int, int)

Inflate Shared Method

Inflate(Size)

Inflate Method

Intersect(Rect)

Intersect Method

Intersect(Rect, Rect)

Intersect Shared Method

IntersectsWith(Rect)

IntersectsWith Method

Offset(int, int)

Offset Method

Offset(Point)

Offset Method

ToString()

ToString Method

Union(Rect, Rect)

Union Shared Method

Operators

operator ==(Rect, Rect)

Equality Operator

operator !=(Rect, Rect)

Inequality Operator