HTML, Canvas Path2D alternative.

2k Views Asked by At

I draw some graphics on my website using Path2d. Nothing complicated, just two triangles. But MobileSafari fails to create Path2D() object.

Is there any workaround for it ? or any library to do that ?

Thanks.

1

There are 1 best solutions below

0
On BEST ANSWER

Path2D is not yet supported in all browsers. You may be able to use a polyfill such as this one to get around this.