Skip to main content

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

The old company comeup with new brand MAXBEN - Logo meaning

I am so happy to design this logo for my friend Suresh Mahalingam to boost his paint business to the next level. The first step in his process is logo design. He had a clear idea about his business, processes, pricing and target audience. I just collect all those information from him and created the logo with some appropriate meanings. Check out the logo here