1#
2# Using the Arc style properties
3#
4style = lv.style_t()
5style.init()
6
7style.set_arc_color(lv.palette_main(lv.PALETTE.RED))
8style.set_arc_width(4)
9
10# Create an object with the new style
11obj = lv.arc(lv.scr_act())
12obj.add_style(style, 0)
13obj.center()
14