acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

lv_example_style_7.py (251B)

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