drawImage(image,x,y) method is used to draw an image on the canvas.