Clear the draw window using current background color.
The draw window is a partial rectangle area on the full screen, all following drawing on screen will be remapped to this window
Direct: |
"WINCL" |
Arduino: |
void cleanDrawWindow(void) |
C: |
void Digole_cleanDrawWindow(void) |
none
none
mydisp.setDrawWindow(50,50,100,200); //set a draw window the top-left position at (50,50), width is 100px,height is 200px
mydisp.setBgColor(0B00000001); //set background color to light-blue
mydisp.cleanDrawWindow();
mydisp.drawStr(1,1,"Hello World!"); //display white "Hello World!" at position (1,1) in the draw window on the light blue background
serial.writeString("WINCL"); //set the draw window to full screen
Version | Description |
---|---|