JavaScript Canvas Clip Rectangular
ctx.rect(50, 20, 200, 120); // Create path
ctx.clip(); // Clip, everything outside rectangle is not rendered
TC5550
ctx.rect(50, 20, 200, 120); // Create path
ctx.clip(); // Clip, everything outside rectangle is not rendered