121
rated 0 times
[
122]
[
1]
/ answers: 1 / hits: 6444
/ 10 Years ago, mon, september 22, 2014, 12:00:00
I'm working with Fabric.js and I would like to draw arcs on canvas. The closest shape I can find is the Circle
shape. This, of course, only enables me to make a circle and nothing like an arc spanning 45° or 180°.
Is there a way to accomplish this with Fabric.js? If not, is there a way I can get the underlying context and then create the arc and allow fabric to manage it? It is important that I retain the selection and scaling capabilities that Fabric.js offers.
More From » canvas