intersectsRect

fun intersectsRect(rect: <Error class: unknown class>): Boolean

Checks if part of the given @rect is contained inside the rounded rectangle.

Return

true if the @rect intersects with the rounded rectangle

Parameters

rect

the rectangle to check