How to draw a trapezoid

I want to draw a three-dimensional shape like this,

How do I get it?

use lv_draw_polygon

You would need to use lv_canvas_draw_polygon on a canvas. lv_canvas_draw_polygon expects an lv_draw_rect_dsc_t structure which you will need to initialize; an example of how to do that is here.

OK,I have a try.Thank you all!