Table of Contents

Method Intersect

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Intersect(Rectangle)

Updates the region to be the intersection of itself with the specified rectangle.

public void Intersect(Rectangle rectangle)

Parameters

rectangle Rectangle

The rectangle to intersect with the region.

Remarks

This is a helper method that is equivalent to calling Combine(Rectangle, RegionOp) with Intersect.

Intersect(Region?)

Updates the region to be the intersection of itself with the specified region.

public void Intersect(Region? region)

Parameters

region Region

The region to intersect with this region.

Remarks

This is a helper method that is equivalent to calling Combine(Region?, RegionOp) with Intersect.