void Graphics::fillRoundRect( int16_t x , int16_t y , int16_t w , int16_t h , int16_t r )
Graphics::fillRoundRect draws a filled rectangle at (x, y) with width w and height h whose corners are rounded with the radius r.
none
#include <Gamebuino-Meta.h>void setup() {
gb.begin();
}void loop() {
while(!gb.update());
gb.display.clear();// draw a yellow rectangle with round corners
gb.display.setColor(YELLOW);
gb.display.fillRoundRect(5, 5, 42, 20, 5);
}