$fillRectangle

Fills of the specified rectangle.
Syntax
    $fillRectangle{x}{y}{width}{height}
DocumentationFills 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{200}{200}
    $setDrawColor{black}
    $fillRectangle{0}{0}{199}{199}

    Result:
    an image with a size of 200/200 with a black rectangle with the size of 199/199 appears
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters4
Maximum parameters 4