html2canvas-pro
html2canvas-pro copied to clipboard
`clip-path` CSS property support
It would be great to implement https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path support in html2canvas-pro.
Cheers.
I have a class name that uses a clip-path like the following. Is there any way to retain it when exporting to an image?
clip-path: path("M 31.12 0 L 43.0221 0 C 56.5711 0 61.6508 7.04765 57.3662 19.9014 L 52.7814 33.6559 C 48.4968 46.5096 46.429 48 32.88 48 L 20.9779 48 C 7.42888 48 2.34922 40.9524 6.63379 28.0986 L 11.2186 14.3441 C 15.5032 1.49038 17.571 0 31.12 0");