Is there any setting or something provided in fabricjs for customizing canvas coordinate system?
For my project I found easy to use cartesian coordinate system. Currently I am translating each object to (width/2, height/2)
in order to move to cartesian coordinate system.
Left-top of canvas would be (-width/2, -height/2)
instead of (0,0)
as below image.
If any object with options {left:0,top:0,originX:'center', originY:'center'}
is added to canvas, it should appear in the center not top-left corner