Compute the boolean intersection of two 2D shapes.
The overlapping region, or null if the shapes do not overlap.
null
Use intersect2D instead. Will be removed in v8.0.0.
intersect2D
const overlap = intersect2D(circle, rectangle); Copy
const overlap = intersect2D(circle, rectangle);
Compute the boolean intersection of two 2D shapes.