Draw path in Canvas with SVG Path data (SVG paths to Canvas paths)
In Chrome, Safari, Firefox and Edge you could make use of the Path2D API to draw Paths in Canvas based on SVG path data. The Path2D constructor can optionally take a SVG path data as its input and generate the equivalent path on Canvas. This API is not supported by Internet Explorer, Android Browser or … Read more