Creates the triangle : Triangle : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » Triangle »

 

Creates the triangle


 

package {
  import flash.display.GradientType;
  import flash.display.Sprite;
  import flash.geom.Matrix;
       
  public class Main extends Sprite {
  
       public function Main() {
          graphics.lineStyle(1);
          graphics.beginFill(0x00FF001);
          graphics.moveTo(250);
          graphics.lineTo(5025);
          graphics.lineTo(025);
          graphics.lineTo(250);
          graphics.endFill(  );
  
       }
  
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Graphics
» Triangle