现在的位置: 首页 > 综合 > 正文

graphics的新方法drawRoundRectComplex

2012年04月20日 ⁄ 综合 ⁄ 共 192字 ⁄ 字号 评论关闭

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

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

 

抱歉!评论已关闭.