union
Description:
public Rect union (
Rect b)
Computes the smallest possible rectangle capable of fully containing both this and b, and places
it into res.
This function will normalize both this and b prior to computing their union.
Parameters:
| this |
a Rect
|
| b |
a Rect
|
| res |
a Rect
|