I am working on SVG-EDITOR for a long time now. I want to make the editor stack all objects drawn based on their fill properties on the fly(while i am editing). This would send all the objects with fill color: black to the back automatically.
Any ideas?
Basically i want all objects with color fill black to be sent to the back automatically after they are drawn. only black filled objects. any ideas on the coding?