intersectRects
intersectRects(
a,b):Rect|undefined
Defined in: dom/src/dom-utils/position.ts:66
The overlap of two rectangles.
Parameters
Section titled “Parameters”A rectangle.
Another one.
Returns
Section titled “Returns”Rect | undefined
The overlap; undefined when they are apart or only touch.