Drawing Lines : line « Graphics « Flash / Flex / ActionScript






Drawing Lines

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

        var canvas:Shape = new Shape(  );
        canvas.graphics.lineStyle(1)
        canvas.graphics.lineTo(25, 35);
        addChild(canvas);
    }
  }
}

        








Related examples in the same category