rect2Intersection
rect2Intersection(
a,b):Rect2<number> |null
Defined in: rect2.ts:108
Calculates the intersection of two rectangles. If they do not intersect, returns null.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Rect2<number> | null