touchgfx::LCD::drawHorizontalLine() method
@fn void LCD::drawHorizontalLine(int16_t x, int16_t y, uint16_t width, uint16_t lineWidth, colortype color, uint8_t alpha = 255); Draws a horizontal line with the specified color. Draws a horizontal line with the specified color.
Arguments
x
The x coordinate of the starting point, in absolute coordinates.
y
The y coordinate of the starting point, in absolute coordinates.
width
The length of the line.
lineWidth
The width of the line.
color
The color to use.
alpha
The alpha value to use (default=solid)