熱門文章

Ⓒegret.JointStyle 用法

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);

沒有留言:

張貼留言