touchgfx::LCD::drawBorder() method
@fn void LCD::drawBorder(const Rect& rect, uint16_t lineWidth, colortype color, uint8_t alpha = 255); Draws a rectangle width the specified line width and color. Draws a rectangle width the specified line width and color.
Arguments
rect
The rectangle x, y, width, height in absolute coordinates.
lineWidth
The width of the line.
color
The color to use.
alpha
The alpha value to use (default=solid)