You can define rounded edges for a rectangle. Enter a corner radius in pixel for this. In the rounded edges, the background color becomes visible.

Example: Corner radius 20 and 60 pixel.