Skip to content

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.

Rect2

Rect2

Rect2<number> | null