lvgl.circle

Display a solid or filled circle.

Syntax

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

parent:circle({settings})

Parameters

See the API page for parameter description and common settings.

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

Circle specific settings:

Name
Type
Description
Default if not set

thickness

Number

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

1

filled

Boolean

If true the circle is filled with the 'color'value

false

radius

Number or Function

Sets the radius of the arc

0

opacity

Number or Function

Sets the opacity. Note: range is 0 (transparent) to 255 (opaque).

255 (opaque)

Return values

LVGL object

API Status

Avail
Status
Comment

BW radios

Color radios

active

Change log

EdgeTX version
Change

2.11.0

Introduced

Last updated

Was this helpful?