Canvas Tutorials

Canvas Methods and Properties

HTML canvas rotate() Method

HTML canvas rotate() Method



The rotate() method is used to rotates the current drawing.




Its syntax is:- context.rotate(angle);


Further Explanation:-


Parameter Description
angle The rotation angle, in radians.

Code Explanation

All Tutorials related to Canvas Methods and Properties

All Sections related to Canvas