$drawArrow

Draws a line with a arrow.
Syntax
    $drawLine{x1}{y1}{x2}{y2}{length}{position}{arg}
DocumentationDraws a line between the specified points and a arrow on the line:

    Parameters:
      (x1, y1), the first point of the line to be drawn.
      (x2, y2), the last point of the line to be drawn.
      length, the length of the arrow default 5 pixel
      position, position of arrow on the line default 100%
      arg, arg of the arrow
    Note:
      the template using this function must have the content type 'image/gif' or 'image/jpeg'.
Examples
    $createImage{200}{200}
    $setDrawColor{black}
    $fillRectangle{0}{0}{199}{199}
    $setDrawColor{white}
    $drawLine{1}{1}{1}{199}
    $drawLine{1}{1}{199}{1}

    Result:
    in the image with a width of 200/200; a black rectangle with the size 199/199; at
    the left and top edge a 1 pixel sized white line with a arrow appears
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters4
Maximum parameters 7