Draw Rectangle

This function draws a rectangle at point (x1,y1) to point (x2,y2).
The "outline" argument indicates if the rectangle should be empty (1) or filled (0).

To change the color used for drawing, use the function draw_set_color().

draw_rectangle(x1,y1,x2,y2,outline)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License