rectangleBounds

fun rectangleBounds(rectangles: List<Rectangle>): Rectangle

calculates Rectangle-bounds for a list of Rectangle instances