| 1 |
<?xml version="1.0" standalone="no"?> |
| 2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" |
| 3 |
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
| 4 |
<svg width="12cm" height="4cm" viewBox="0 0 1200 400" |
| 5 |
xmlns="http://www.w3.org/2000/svg" version="1.1"> |
| 6 |
<desc>Example rect02 - rounded rectangles</desc> |
| 7 |
|
| 8 |
<!-- Show outline of canvas using 'rect' element --> |
| 9 |
<rect x="1" y="1" width="1198" height="398" |
| 10 |
fill="none" stroke="blue" stroke-width="2"/> |
| 11 |
|
| 12 |
<rect x="100" y="100" width="400" height="200" rx="50" |
| 13 |
fill="green" /> |
| 14 |
|
| 15 |
<g transform="translate(700 210) rotate(-30)"> |
| 16 |
<rect x="0" y="0" width="400" height="200" rx="50" |
| 17 |
fill="none" stroke="purple" stroke-width="30" /> |
| 18 |
</g> |
| 19 |
</svg> |