bounds

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

Calculates Rectangle-bounds from a List of Vector2 instances.

The provided list should consist of more than one item for optimal results.


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

Calculates Rectangle-bounds for a list of Rectangle instances.