Mega Code Archive

 
Categories / Flash ActionScript / Graphics
 

Draw Round Rectangle Complex

package{   import flash.display.*;      public class Main extends Sprite{     public function Main(){         var shape:Shape = new Shape();         addChild(shape);         shape.graphics.beginFill(0x000000, 1);         shape.graphics.drawRoundRectComplex(0, 0, 300, 300, 100, 0, 0, 0);         shape.graphics.endFill();     }   } }