Void rectangle(Image img, Int x1, Int y1, Int x2, Int y2, Colour col, Bool filled=false)
Arguments
img: The imagex1: X coordinate of first cornery1: Y coordinate of first cornerx2: X coordinate of opposite cornery2: Y coordinate of opposite cornercol: Colour of the rectangle's borderfilled: If this is true, the rectangle will be filled with the same colour as the border.
Usage
Draws a rectangle with opposite corners at (x1,y1) and (x2,y2).