使用方法:
1、head引入css文件
<link href="https://fonts.googleapis.com/css?family=Irish+Grover" rel="stylesheet"><!--英文字体--> <link rel="stylesheet" href="css/style.css">
2、body引入HTML代码
<canvas id="testCanvas" width="550" height="500"></canvas> <script src='js/easeljs.min.js'></script> <script src="js/index.js"></script>
3、打开easeljs.min.js找到下面这段
var text = new createjs.Text("drink\nresponsibly!", "bold 64px 'Irish Grover'", "#020"); //默认文字修改