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

Path2D Api #91

Open
drdream opened this issue Aug 15, 2020 · 0 comments
Open

Path2D Api #91

drdream opened this issue Aug 15, 2020 · 0 comments

Comments

@drdream
Copy link

drdream commented Aug 15, 2020

Hello How can I use the Path2D Api?

I would like to use an SVG path like this

` var p1 = new Path2D("M1 0 h 100 v 50 h -100 Z");
ctx.clearRect(0, 0, 300, 300)

ctx.fill(p1)

`

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