• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Shapes

Now, if you want to fill that space with something, you use the beginFill() and endFill() methods.

with(line1) { 
    lineStyle(5,0x0000FF,100);
    moveTo(400,100);
    beginFill(0x000000, 10);
    lineTo(300,300);
    lineTo(0,200);
					lineTo(300,0);
					lineTo(400,100);
					endFill();
}


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint