Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using an arbitrary SVG element as a 'shape'. #20

Open
Ataraxy opened this issue Jul 7, 2018 · 0 comments
Open

Using an arbitrary SVG element as a 'shape'. #20

Ataraxy opened this issue Jul 7, 2018 · 0 comments

Comments

@Ataraxy
Copy link

Ataraxy commented Jul 7, 2018

Hey there. I was hoping you could maybe offer up some insight on how I could go about using an arbitrary SVG element or path as a shape. I spent some time looking at how the different shapes are constructed but haven't been able to figure it out.

I thought I might be able to ctx.drawImage() a base64 representation of a SVG using a Rectangle Polygon but haven't been able to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant