ballHit
//画圆
_maskMC=new egret.Sprite();
_maskMC.graphics.beginFill(0xFBC745,1);
_maskMC.graphics.drawCircle(0,0,43);
_maskMC.graphics.endFill();

//画矩形	
this._muUp=new egret.Sprite;
this._muUp.graphics.beginFill(0x000000);
this._muUp.graphics.drawRect(0,0,MyData._clientWidth,MyData._clientHeight/2);
this._muUp.graphics.endFill();
this._muUp.y=-MyData._clientHeight/2;
this._myUI4.addChild(this._muUp);

//画圆角矩形	
_maskMC=new egret.Sprite();
_maskMC.graphics.beginFill(0xFBC745);
_maskMC.graphics.drawRoundRect(52,36,956,458,14);
_maskMC.graphics.endFill();

  

posted on 2021-02-01 10:27  我是cdt  阅读(650)  评论(0编辑  收藏  举报