Table of Contents

Method Contains

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Contains(int, int)

Determines whether the specified point is contained within the region.

public bool Contains(int x, int y)

Parameters

x int

The x-coordinate of the point.

y int

The y-coordinate of the point.

Returns

bool

true if the point is contained within the region; otherwise, false.

Contains(Rectangle)

Determines whether the specified rectangle is contained within the region.

public bool Contains(Rectangle rectangle)

Parameters

rectangle Rectangle

The rectangle to check for containment.

Returns

bool

true if the rectangle is contained within the region; otherwise, false.