overlaps

fun overlaps(first: Frame, second: Frame): Boolean(source)

Returns whether two frames share a region of positive area; touching edges do not overlap.

Return

true when both frames are usable and intersect.

Parameters

first

One frame.

second

The other frame.