$drawHorizontalLine

Draws a horizontal line.
Syntax
    $drawHorizontalLine{x}{y}{length}
DocumentationDraws a horizontal line:

    Parametes:
      x, the x coordinate of the first point of the line.
      y, the y coordinate of the line.
    Note:
      the template using this function must have the content type 'image/gif' or 'image/jpeg'.
Examples
    $createImage{300}{300}
    $setDrawColor{red}
    $drawHorizontalLine{150}{150}{75}

    Result:
    in the image with a size of 300/300 pixels a red horizontal line with the length of 75
    pixels at the point x=150 / y=150 appears
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters3
Maximum parameters 3