熱門文章

Ⓒegret.CapsStyle 用法

線頭是平的

let s1 = new egret.Shape();
s1.graphics.lineStyle(30,0,1,true,null,egret.CapsStyle.NONE);
s1.graphics.moveTo(0,0);
s1.graphics.lineTo(100,100);
this.addChild(s1);

沒有留言:

張貼留言