代码如下,flash如果不设置lineStyle()的参数会清除描边效果,但LAYA是默认为1像素描边
var s:Shape = new Shape();
s.graphics.lineStyle(4);
s.graphics.beginFill(0xff0000);
s.graphics.drawCircle(100, 100, 70);
s.graphics.endFill();
s.graphics.lineStyle();//flash中不加参数是清除描边效果
s.graphics.beginFill(0xffffff);
s.graphics.drawCircle(100, 100, 50);
s.graphics.endFill();
addChild(s);