Create a clipping region

ctx.fillRect(40, 40, 200, 120);

ctx.beginPath();

ctx.arc(, , , 0, 2 * Math.PI, false);

ctx.clip();

ctx.fillRect(80, 200, 280, 160);

A rectangle is drawn on the <canvas> before a circular clipping region is created. Then a second rectangle is drawn after the clipping region is created.

Outline the clipping region