[]graphics怎么画透明色

graphics怎么画透明色
已邀请:

aicode

赞同来自:

let graphics=new Laya.Graphics();
graphics.clear();
graphics.save();
graphics.alpha(0.6);
graphics.drawRect(0,0,Laya.stage.width,Laya.stage.height,'#000000');
graphics.restore();
sprite.graphics=graphics;

要回复问题请先

商务合作
商务合作