touchgfx::LCD::drawBorder() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

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.

Syntax

void drawBorder(const Rect& rect,     uint16_t lineWidth,     colortype color,     uint8_t alpha = 255);

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)

References

LocationText
LCD.hpp:245
void drawBorder(const Rect& rect, uint16_t lineWidth, colortype color, uint8_t alpha = 255);