method
boundingBox

Rectangle boundingBox(
Rectangle other
)

Returns a new rectangle which completely contains this and other.