画椭圆
摘要:
package{importflash.display.Sprite;publicclassBallextendsSprite{publicvarradius:Number;publicvarcolor:uint;publicfunctionBall(radius:Number=10,color:uint=0Xff0000){this.radius=radius;this.color=color;draw();}publicfunctiondraw():void{graphics.beginFill(color);graphics.drawCircle(0,0,radius);graphics 阅读全文