Function IntRect.Union

Union (IntRect a, IntRect b)

Returns a new rect which contains both input rects.

Public Static
IntRect Union (

IntRect

a

IntRect

b

)

Returns a new rect which contains both input rects.

This rectangle may contain areas outside both input rects as well in some cases.