How to create a rectangle with rounded corners

Hello to everybody. It’s my first time in this forum :grinning:

I have the 7,5" ePaper panel and I am trying to create a rectangle with rounded corners as shown in the product presentation image:

I have tried with it.rectangle but it does not allow rounding. How is it done?