Syntax:
FilledBox(LineX1,LineY1, LineX2, LineY2, Optional LineColour = 1)
Explanation:
Draws a filled box on a graphic LCD from the upper corner of pixel LineX1, LineY1
to pixel LineX2, LineY2.
LineColour can be specified. Typically the value is 0 or 1, corresponding to GLCDBackground and GLCDForeground respectively; it defaults to 1 (foreground) if omitted.
Example:
#include <glcd.h>
FilledBox(10, 10, 100, 50) ' <<< the FilledBox instructionKey line: FilledBox(10, 10, 100, 50) — draws a solid rectangle from pixel (10,10) to pixel (100,50), filled with the current foreground colour.
See Also:
- GLCD Overview — category overview
- Box — the unfilled equivalent of this command

