Returns whether other is entirely contained within this rectangle.
other
bool containsRect(Rectangle other) => other.minX >= minX && other.minY >= minY && other.maxX <= maxX && other.maxY <= maxY;