Rounding Rectangle Corners with the RoundingRadius Option
Use the Rectangle primitive's RoundingRadius option to round the corners of rectangles. Corners can be rounded with a single radius or separate horizontal and vertical radii. A corner's rounding radius is limited to half the length of an adjacent side.