Apply a 3 pixel-thick blue stroke : LineStyle : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » LineStyle »

 

Apply a 3 pixel-thick blue stroke


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

        var canvas:Shape = new Shape(  );
        canvas.graphics.lineStyle(30x0000FF);  // Apply blue stroke
        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