How to create a rectangle with rounded corners

what code are you using?