Draws a Rectangle with rounded corners.
Syntax
<RoundRectangle x="float" y="float" width="float" height="float" cornerRadiusX="float" cornerRadiusY="float" />
Attributes
The RoundRectangle element must contain the following attributes:
x,y,width,heightA collection of geometric attributes that specify the rectangle's size and position.
These attributes are transformable.
cornerRadiusX,cornerRadiusYThe radius of a circle. This value defines the extent to which the corners of the rectangle are rounded.
These attributes are transformable.
Inner elements
The RoundRectangle element must contain either a single Stroke element
or a single Fill element.
A rounded rectangle can also optionally contain any number of the following elements:
Recommended for you
- Note: link text is displayed when JavaScript is off
- RoundRectangle
- Rectangle
- Rectangle