HTML Canvas .beginPath method
Hello guys, sorry to disturb you; I'm learning about HTML canvas and their is something which is confusing me. When drawing some elements, like using the .filleRect() method, we need to use the beginPath() method while when using the .Rect() method, we don't need to actually do that. Why and what is the purpose of the beginPath please
