$drawRectangle

Draws the outline of the specified rectangle.
Syntax
    $drawRectangle{x}{y}{width}{height}
DocumentationDraws the outline of the specified rectangle:

    Parameters:
      x, the x coordinate of the upper left corner of the rectangle.
      y, the y coordinate of the upper left corner of the rectangle.
      width, the width of the rectangle.
      height, the height of the rectangle.
    Note:
      the template using this function must have the content type value 'image/gif'.
Examples
    $createImage{300}{300}
    $setDrawColor{red}
    $drawRectangle{60}{40}{150}{50}

    Result:
    in the image with a size of 300/300 pixels a red rectangle with the size 150/50
    pixels at the point x=60 / y=40 appears
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters4
Maximum parameters 4