alternate content
line
<!DOCTYPE html> <html> <head> <title>EaselJS demo: Getting started</title> <script src="../../lib/easeljs-0.5.0.min.js"></script> <script> function init() { var stage = new createjs.Stage("demoCanvas"); var circle = new createjs.Shape(); circle.graphics.beginFill("red").drawCircle(0, 0, 50); circle.x = 100; circle.y = 100; stage.addChild(circle); // stage.addChild(new createjs.Shape()).setTransform(100,100).graphics.f("red").dc(0,0,50); stage.update(); } </script> </head> <body onLoad="init();"> <canvas id="demoCanvas" width="500" height="200"> alternate content </canvas> </body> </html>