lvgl.hline
Display a horizontal line.
Last updated
Was this helpful?
Display a horizontal line.
lvgl.hline([parent], {settings})
parent:hline({settings})
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:
rounded
Boolean
If true then the end caps of the line are rounded.
false
opacity
Number or Function
Sets the opacity. Note: range is 0 (transparent) to 255 (opaque)
255 (opaque)
dashGap
Number
Sets the gap size for drawing dashed lines.
0
dashWidth
Number
Sets the dash size for drawing dashed lines. Note: both dashGap and dashWidth must be > 0 in order to draw dashed lines.
0
LVGL object
BW radios
Color radios
2.11.0
Introduced
Last updated
Was this helpful?
Was this helpful?