bounds

@get:JvmName(name = "getRectangleListBounds")
val List<List<Rectangle>>.bounds: Rectangle(source)

Computes the bounding rectangle that encompasses all the rectangles contained in the lists.

This property traverses the two-dimensional list structure to compute the bounds of each individual rectangle, ultimately returning a single Rectangle that encompasses all the rectangles in all nested lists.

If the list is empty or contains no rectangles, the resulting bounds might be undefined, depending on the behavior of the nested bounds calculations.