$drawPolyLine

Draws a sequence of connected lines.
Syntax
    see Documentation
DocumentationDraws a sequence of connected lines:

    $drawPolyLine{x1}{y1}{x2}{y2} ... {xn}{yn}

    Parameters:
      (x1, y1) through (xn, yn) the coosdinates of the end points of the lines to be drawn.

    $drawPolyLine{x1 y1 x2 y2 ... xn yn}

    Parameters:
      a '$\ ' separated list of the coordinates of the end points of the lines to be drawn.
    Note:
      the template using this function must have the content type 'image/gif'.
Examples
    $createImage{200}{200}
    $setDrawColor{black}
    $fillRectangle{0}{0}{199}{199}
    $setDrawColor{white}
    $drawPolyLine {100 100 50 150 150 150 100 100}

    Result:
    an image with a width of 200/200; within a black rectangle with the size 199/199;
    and a white resembles thigh triangle appears
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters <unlimited>