Table of Contents

Method Contains

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Contains(int, int)

Contains Method

public bool Contains(int x, int y)

Parameters

x int
y int

Returns

bool

Remarks

Checks if an x,y coordinate lies within this Rectangle.

Contains(Point)

Contains Method

public bool Contains(Point pt)

Parameters

pt Point

Returns

bool

Remarks

Checks if a Point lies within this Rectangle.

Contains(Rect)

Contains Method

public bool Contains(Rect rect)

Parameters

rect Rect

Returns

bool

Remarks

Checks if a Rectangle lies entirely within this Rectangle.