Checks if part of the given rect is contained inside the rounded rectangle.
the rectangle to check
true if the rect intersects with the rounded rectangle
Checks if part of the given rect is contained inside the rounded rectangle.