rect.containsRect(r)
Return true if the rectangle r is inside the rectangle (inclusive). Return false otherwise.
true
r
false