this.graphics.clear(); this.graphics.beginFill(0xffffff); this.graphics.drawRoundRectComplex(0,0,750,550,10,10,0,0); this.graphics.endFill();
这个方法可以让我们自定义方形的各个顶角的弯曲度,有了他我们就可以方便的绘制下面的图形