Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.89 KB

File metadata and controls

39 lines (23 loc) · 1.89 KB
description Display a horizontal line.
metaLinks
alternates

lvgl.hline

Syntax

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

parent:hline({settings})

Parameters

See the API page for parameter description and common settings.

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

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

Hline 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