union

fun union(rect: Rectangle2D)

Will merge the bounds of two rectangle.

Parameters

rect