fabricjs-react icon indicating copy to clipboard operation
fabricjs-react copied to clipboard

Adding objects in desired coordinates

Open mritul opened this issue 9 months ago • 2 comments

Is there any way I could perform addCircle() and add the circle in the coordinates that I want in my canvas maybe using the top and left properties ?

mritul avatar May 06 '24 13:05 mritul

you can use the fabric instance, from editor?.canvas...

asotog avatar May 09 '24 22:05 asotog

hey the addCircle() method and addRectangle() method, already have their coords fixed, in the default shapes, what instance are you exactly talking about ?, cause editor.canvas.fabric doesn't exist

JTiscodin avatar Jun 09 '24 07:06 JTiscodin