Declares a path that can then be used on a CanvasRenderingContext2D object.
The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you
the convenience of being able to retain and replay your path whenever desired.
Declares a path that can then be used on a
CanvasRenderingContext2Dobject. The path methods of theCanvasRenderingContext2Dinterface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.See
https://developer.mozilla.org/docs/Web/API/Path2D