$fill

The function "fill" fills the image in each direction beginning from x = parameter 1 and y = parameter 2 with the color specified in parameter 3.
Syntax
    $fill{x}{y}{color}
DocumentationThe function fills the image in each direction beginning beginning from (x,y).
    Parameters:
      (x,y), coordinates
      color, color used to fill
    Note:
      Using the Image/Draw functions, the content-type of the template needs to be 'image/gif'
Examples
    $createImage{150}{200}
    $fill{100}{100}{black}

    Result:
    an image with a size of 150/200 filled with black color appears
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters3
Maximum parameters 3