白鷺引擎 egret api 範例補完計畫, eui 庫的應用請先看 EUI 如何開始 的文章!
JointStyle 示例
let s = new egret.Sprite(); s.x = s.y = 20; s.graphics.lineStyle(30,0xFFCC00,1,true,null,egret.CapsStyle.NONE,egret.JointStyle.ROUND); s.graphics.moveTo(0,0); s.graphics.lineTo(100,100); s.graphics.lineTo(200,0); this.addChild(s);
沒有留言:
張貼留言