Compute the boolean difference of two 2D shapes (base minus tool).
The shape to cut from.
The shape to subtract.
The remaining shape, or null if nothing remains.
null
Use cut2D instead. Will be removed in v8.0.0.
cut2D
const withHole = cut2D(outerRect, innerCircle); Copy
const withHole = cut2D(outerRect, innerCircle);
Compute the boolean difference of two 2D shapes (base minus tool).