rect.union(r)

Return a rectangle that is a union of this rectangle and rectangle r.