Draw rectangle without using canvas

Hi,
Could you please help me with the code to draw a rectangle without using canvas ?
I am using lvgl 8.3 version. Thank you very much