RoundedRect.containsRect

bool containsRect(graphene.rect.Rect rect)

Checks if the given rect is contained inside the rounded rectangle.

Parameters

rectthe rectangle to check

Returns

true if the rect is fully contained inside the rounded rectangle