touchgfx::LCD::drawVerticalLine() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::LCD::drawVerticalLine()

touchgfx::LCD::drawVerticalLine() method

@fn void LCD::drawVerticalLine(int16_t x, int16_t y, uint16_t height, uint16_t lineWidth, colortype color, uint8_t alpha = 255); Draws a vertical line with the specified color. Draws a vertical line with the specified color.

Syntax

void drawVerticalLine(int16_t x,     int16_t y,     uint16_t height,     uint16_t lineWidth,     colortype color,     uint8_t alpha = 255);

Arguments

x

The x coordinate of the starting point, in absolute coordinates.

y

The y coordinate of the starting point, in absolute coordinates.

height

The length of the line.

lineWidth

The width of the line.

color

The color to use.

alpha

The alpha value to use (default=solid)

References

LocationText
LCD.hpp:217
void drawVerticalLine(int16_t x, int16_t y, uint16_t height, uint16_t lineWidth, colortype color, uint8_t alpha = 255);