When using plain javascript, I was able to change the origin of the canvas to the center by following these steps:
var canvas = document.getElementById('canvas');
var context = canvas.getContext('2d');
canvas.width = 1024;
canvas.height = 1024;
context.translate(canvas.width * 0.5, canvas.height * 0.5);
As a result, if a shape is drawn with x and y coordinates set to 0, 0 it will appear at the center of the canvas. How can this be accomplished in easlejs?