Lines Matching refs:rect_dsc
5 rect_dsc = lv.draw_rect_dsc_t() variable
6 rect_dsc.init()
7 rect_dsc.radius = 10
8 rect_dsc.bg_opa = lv.OPA.COVER
9 rect_dsc.bg_grad.dir = lv.GRAD_DIR.HOR
10 rect_dsc.bg_grad.stops[0].color = lv.palette_main(lv.PALETTE.RED)
11 rect_dsc.bg_grad.stops[1].color = lv.palette_main(lv.PALETTE.BLUE)
12 rect_dsc.border_width = 2
13 rect_dsc.border_opa = lv.OPA._90
14 rect_dsc.border_color = lv.color_white()
15 rect_dsc.shadow_width = 5
16 rect_dsc.shadow_ofs_x = 5
17 rect_dsc.shadow_ofs_y = 5
30 canvas.draw_rect(70, 60, 100, 70, rect_dsc)