Path2D Api
Opened this issue · 0 comments
drdream commented
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)
`
Opened this issue · 0 comments
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)
`