How to set canvas origin to center in fabricjs?

When I draw a circle on fabricjs canvas it always appears on bottom right corner even though I set the coordinates to center. How can I make the circle draw center of the canvas? var circle = new …

How to get the canvas-relative position of an object that is in a group?

Normally an object’s position relative to the canvas can be gotten from it’s .left and .top attributes, but these become relative to the group if the object is in a selection/group. Is there a way to …

fabricjs How can i keep fixed size on group elements while others scaling?

Hello I use fabricjs to play with the html canvas. I create the canvas and i add group of objects on it. On a group of objects, I need to keep fixed width & height for some objects while I scale …