Set the line style to 1 pixel-thick, solid green : LineStyle : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » LineStyle »

 

Set the line style to 1 pixel-thick, solid green


 
package{
  import flash.display.*;
  
  public class Main extends Sprite{
    public function Main(){
        var canvas:Shape = new Shape(  );
        canvas.graphics.lineStyle(10x00FF00)
        
        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