contains

fun contains(other: Bounds): Boolean

Checks if this bounds instance completely contains another bounds instance.

Return

true if this bounds completely contains the other bounds, false otherwise.

Parameters

other

The other bounds to check if contained within this bounds.