Method RECT.Intersect(+ 1 overload)
Overload
Replaces this rectangle with the intersection of itself and the specified rectangle. If the rectangles don't intersect, makes this variable empty.
public bool Intersect(RECT r2)
Parameters
r2 (RECT) |
Returns
bool
|
Overload(top)
Returns the intersection rectangle of two rectangles. If they don't intersect, returns empty rectangle.
public static RECT Intersect(RECT r1, RECT r2)