union

fun union(rect: Rectangle)

Will merge the bounds of two rectangle.

Parameters

rect