白鷺引擎 egret api 範例補完計畫, eui 庫的應用請先看 EUI 如何開始 的文章!
線頭是平的
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);
沒有留言:
張貼留言