graphics的新方法drawRoundRectComplex

   this.graphics.clear();
   this.graphics.beginFill(0xffffff);
   this.graphics.drawRoundRectComplex(0,0,750,550,10,10,0,0);
   this.graphics.endFill();

这个方法可以让我们自定义方形的各个顶角的弯曲度,有了他我们就可以方便的绘制下面的图形

 

posted @ 2010-06-08 10:45  硕气书生  Views(978)  Comments(0Edit  收藏  举报