Set the line style to 2 pixels thick, 50% transparent green : LineStyle : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » LineStyle »

 

Set the line style to 2 pixels thick, 50% transparent green


 


package{
  import flash.display.*;
  
  public class Main extends Sprite{
    public function Main(){
        var canvas:Shape = new Shape(  );
        canvas.graphics.lineStyle(10x00FF0050)
        
        canvas.graphics.lineTo(2535);
        
        addChild(canvas);

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Graphics
» LineStyle