Centering the Canvas object - JS

// MOVE THE SELECTED OBJECT TO THE CENTER 
function center_object() OF CANVAS
        {
            var obj = canvas.getActiveObject();
            obj.center().setCoords();
            canvas.renderAll();
        }

Popular posts from this blog

What are EAR, JAR and WAR files in J2EE?

ATG Issue - ConcurrentUpdateException - on BCC Deployment

How the competition helps to reduce the price of TEA?