intersectionWith

fun Rect.intersectionWith(rect: Rect): Rect

Return a rect that is the intersection of two other rects