熱門文章

Ⓒegret.GlowFilter 用法

發光濾淨示例

let s1 = new egret.Shape();
s1.graphics.beginFill(0xFF0000);
s1.graphics.drawRect(0, 0, 100, 100);
s1.graphics.endFill();
s1.filters = [new egret.GlowFilter(0xFFFF00, 1, 50, 50)];
this.addChild(s1);

沒有留言:

張貼留言