Add Sprite::drawOutline

This commit is contained in:
Pk11
2021-01-14 13:45:07 -06:00
parent 38b1780d1e
commit 4442c37f45
3 changed files with 33 additions and 9 deletions
+10
View File
@@ -120,6 +120,16 @@ public:
*/
void fillColor(u16 color);
/**
* @brief Draws a rectangle outline to the sprite
* @param x The X position
* @param y The Y position
* @param w The Width
* @param h The Height
* @param color The color to use
*/
void drawOutline(int x, int y, int w, int h, u16 color);
/**
* @brief Draws a solid color rectangle to the sprite
* @param x The X position to draw at