Skip to content

lvgl.vline

Syntax

lvgl.vline([parent], {settings})

parent:hline({settings})

Parameters

See the API page for parameter description and common settings.

The 'h' setting determinse the length of the line.

The 'w' setting determines the thickness of the line.

Vline specific settings:

NameTypeDescriptionDefault if not set
roundedBooleanIf true then the end caps of the line are rounded.false
opacityNumber or FunctionSets the opacity.
Note: range is 0 (transparent) to 255 (opaque)
255 (opaque)
dashGapNumberSets the gap size for drawing dashed lines.0
dashWidthNumberSets the dash size for drawing dashed lines.
Note: both dashGap and dashWidth must be > 0 in order to draw dashed lines.
0

Return values

LVGL object

API Status

AvailStatusComment
BW radiosfalse
Color radiostrueactive

Change log

EdgeTX versionChange
2.11.0Introduced