Canvas

Canvas Tutorials

Canvas Methods and Properties

HTML canvas clip() Method

HTML canvas clip() Method

 

 

The clip() method clips a region of any shape and size from the original canvas. When a region is clipped, all drawings will happen on that clipped region.

 

Syntax:-

 

Its syntax is:- context.clip();

Code Explanation

All Tutorials related to Canvas Methods and Properties

All Sections related to Canvas