fill_image
(fill_image x_coord y_coord width height color)
The fill_image function fills a rectangle within a tile with a color. The function can fill both the whole image tile and a rectangle inside the tile.
Arguments
x_coord and y_coord specify the coordinates of the upper left corner of the rectangle in pixels.
width and height specify the width and height of the rectangle in pixels.
color specifies an integer for a color number in the range from 0 to 256, as well as some negative values for special colors as follows:
-2 |
Background color of the drawing area |
-15 |
Background color of the dialog box |
-16 |
Text color of the dialog box |
-18 |
Border color of the dialog box |
Return Value
The function returns the value of the specified color number.
Note: Use the dimx_tile and dimy_tile function to retrieve the height and width of the rectangle being filled.
(fill_image 7 7 27 17 1)
start_image, end_image, slide_image, vector_image, dimx_tile, dimy_tile