intersects_rect


Description:

public bool intersects_rect (Rect rect)

Checks if part a rectangle is contained inside the rounded rectangle.

Parameters:

this

a rounded rectangle

rect

the rectangle to check

Returns:

true if the rect intersects with the rounded rectangle