Use this function to display a rectangle on a graphical LCD. The function demands the following paramters:
Parameter 1 -> x-postion upper left corner
Parameter 2 -> y-postion upper left corner
Parameter 3 -> x-postion bottom right corner
Parameter 4 -> y-postion bottom right corner
Parameter 5 -> color of rectangle [0 = White, 1 = Black]
Parameter 6 -> fill color of rectangle [0 = White, 1 = Black]
If you dont use parameter 6 in the function call, the rectangle wont be filled. Example:
%LCD.Gfx_Rectangle(0,0,50,25,1,0)
This function call draws a black rectangle (x1=0,y1=0,x2=50,y2=25) filled with a white color on a graphical lcd.