Fabric.js is really convenient for its interactive mode, which allows you to manipulate objects, for example, in a vector drawing program such as Inkscape. I would like to use this ability in a web application project that needs a collage editor.
By default, when an object is selected, the bounding boxes and resizing handles appear in blue, and the handles appear in large blue hollow squares. I would like to change this according to my project.
The documentation has a special page on how to perform this type of setup here: http://fabricjs.com/customization/
Using the above guide, I can get selection boxes that look better in my application. But this is a solution for every object. When you select a group using the Shift key, the handles and bounding box return to cyan by default.
How can I achieve the same level of customization as indicated in the documentation and automatically apply it to the entire canvas, including group selection?
javascript customization fabricjs
David G.
source share