WOLFRAM|DEMONSTRATIONS PROJECT

Rounding Rectangle Corners with the RoundingRadius Option

​
rectangle width
rectangle height
separate h and v radii
rounding radius
show diagram
Rectangle[..., RoundingRadius10]
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.