Transformations Methods
HTML Canvas Tutorial
HTML Canvas facilitates the element <canvas> to draw graphics on Canvas with the help of JavaScript. HTML Canvas offers various methods for drawing different shapes and lines. The HTML Canvas is a rectangular area defined via height and width on an HTML page. By default, HTML Canvas has no border and no content.
Note: To specify the canvas area, canvas provides two attributes: height and width. By default, the width and height of the value are 300px and 150px respectively.