easljs Shape 类
使用方法:
会生成一个Graphic实例,用graphics属性可以获取他
示例:
[pcsh lang=”js” tab_size=”4” message=”” hl_lines=”” provider=”manual”]
var shape = new createjs.Shape();
shape.graphics.beginFill("#ff0000").drawCircle(0, 0, 50);
[/pcsh]
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!