nl_tokens: Draws a filled or stroked triangle
pl_tokens: function TriangleCommand ( args ) { var parsed = <mask> statements . ArgumentStatement ( args ) ; if ( parsed . args . length < 6 ) throw new SyntaxError ( 'TRIANGLE command requires 6 arguments' ) ; this . x1 = parsed . args [ 0 ] ; this . y1 = parsed . args [ 1 ] ; this . x2 = parsed . args [ 2 ] ; this . y2 = parsed . args [ 3 ] ; this . x3 = parsed . args [ 4 ] ; this . y3 = parsed . args [ 5 ] ; this . stroke = parsed . args . length > 6 ? parsed . args [ 6 ] : false ; }