Method Contains | Terminal.Gui v2 (original) (raw)
Namespace
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
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
true
if the rectangle is contained within the region; otherwise, false
.