lvgl.arc

Display an arc.

Syntax

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

parent:arc({settings})

Parameters

See the API page for parameter description and common settings.

Note: 'w', 'h' and 'size' should not be used with lvgl.arc. Use 'radius' instead.

Arc specific settings:

NameTypeDescriptionDefault if not set

thickness

Number

Sets the width of the line used to draw the arc.

1

radius

Number or Function

Sets the radius of the arc

0

startAngle

Number or Function

Sets the starting angle or the arc. Measured in degrees - 0 - 360. 0 is to the right (3 o'clock).

0

endAngle

Number or Function

Sets the ending angle for the arc.

0

Return values

LVGL object

API Status

AvailStatusComment

BW radios

Color radios

active

Change log

EdgeTX versionChange

2.11.0

Introduced