|
|
Donner
C++20 SVG rendering library
|
Creates a rectangle with the top-left corner at (x, y) and the specified width and height, optionally with rounded corners.
| Attribute | Default | Description |
|---|---|---|
| x | 0 | Top-left corner X coordinate. |
| y | 0 | Top-left corner Y coordinate. |
| width | 0 | Horizontal radius, along the X axis. |
| height | 0 | Vertical radius, along the Y axis. |
| rx | auto ("auto" on rx/ry) | For rounded corners, the radius of the curve along the X axis. |
| ry | auto ("auto" on rx/ry) | For rounded corners, the radius of the curve along the Y axis. |