Stroked Circle : DrawCircle : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » DrawCircle »

 

Stroked Circle


 

package {

     import flash.display.Sprite;
     import flash.events.MouseEvent;
     
     [SWF(width=550, height=400)]
     
     public class Main extends Sprite {
          protected var _fillColor:uint = 0xE6E6E6;
          protected var _strokeColor:uint = 0x5C5C5C;
          
          public function Main() {
               var square:Sprite = new Sprite();
               graphics.lineStyle(1, _strokeColor);
               graphics.beginFill(_fillColor);
               graphics.drawCircle(252525);
               graphics.endFill();
               addChild(square);
          }
     }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Graphics
» DrawCircle