Line
Styled polyline through five points
Draw a rounded blue polyline through five fixed coordinates.
A static array of five lv_point_precise_t coordinates defines the
polyline. An lv_style_t sets line_width to 8, line_color to
lv_palette_main(LV_PALETTE_BLUE), and line_rounded to true.
lv_line_create and lv_line_set_points build the shape on the
active screen, the style is attached, and the line is centered.
How is this guide?
Last updated on