Show / Hide Table of Contents

Method RECT.Contains(+ 2 overloads)


Overload

Returns true if this rectangle contains the specified point.

public bool Contains(int x, int y)
Parameters
x  (int)
y  (int)
Returns
bool

Overload(next)

Returns true if this rectangle contains the specified point.

public bool Contains(POINT p)
Parameters
p  (POINT)
Returns
bool

Overload(top)

Returns true if this rectangle contains entire specified rectangle.

public bool Contains(RECT r2)
Parameters
r2  (RECT)
Returns
bool