Table of Contents

Method Intersect

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Intersect(Rect, Rect)

Intersect Shared Method

public static Rect Intersect(Rect a, Rect b)

Parameters

a Rect
b Rect

Returns

Rect

Remarks

Produces a new Rectangle by intersecting 2 existing Rectangles. Returns null if there is no intersection.

Intersect(Rect)

Intersect Method

public void Intersect(Rect rect)

Parameters

rect Rect

Remarks

Replaces the Rectangle with the intersection of itself and another Rectangle.