Description
A rectangle shape with rounded corners, aligned inside the frame of the view containing it.
Parameters
cornerRadius
: The corner radius of the rounded rectangle.stroke
: A dictionary specifying the stroke parameters, e.g., lineWidth
, dash
.Example
<body>
<vstack padding="">
<roundedrectangle cornerRadius="25" foregroundColor="indigo"/>
<roundedrectangle cornerRadius="64" stroke="lineWidth:2" foregroundColor="teal" padding="20"/>
</vstack>
</body>