Set Caps style to Round : LineStyle : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » LineStyle »

 

Set Caps style to Round


 

package{
  import flash.display.Sprite;
  import flash.display.*;
  public class Main extends Sprite{
    public function Main(){

         graphics.lineStyle(10xff00001, true, LineScaleMode.NONE, CapsStyle.ROUND, JointStyle.ROUND, 20);
            for(var i:int=0;i<100;i++) {
                graphics.lineTo(Math.random(  ) 400, Math.random(  ) 400);
            }

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Graphics
» LineStyle