Method RECT.Union(+ 1 overload)
Overload
Replaces this rectangle with the union of itself and the specified rectangle. Union is the smallest rectangle that contains two full rectangles. If either rectangle is empty (Width or Height is <=0), the result is another rectangle. If both empty - empty rectangle.
public bool Union(RECT r2)
Parameters
r2 (RECT) |
Returns
bool
|
Overload(top)
Returns the union of two rectangles. Union is the smallest rectangle that contains two full rectangles. If either rectangle is empty (Width or Height is <=0), the result is another rectangle. If both empty - empty rectangle.
public static RECT Union(RECT r1, RECT r2)