# SVG shapes

[browser](..) ⟩ [SVG]() ⟩ shapes

{% tabs %}
{% tab title="🔴 主題" %}
| tag                              | attributes                                                                              |
| -------------------------------- | --------------------------------------------------------------------------------------- |
| <[**line**](shape/line)>         | start: (**x1**, **y1**), end: (**x2**, **y2**), stroke color: **stroke**                |
| <[**rect**](shape/rect)>         | origin: (**x**, **y**), size: (**width**, **height**), rounded corner: (**rx**, **ry**) |
| <**circle**>                     | center: (**cx**, **cy**), radius: **r**                                                 |
| <[**ellipse**](shape/ellipse)>   | center: (**cx**, **cy**), radii: (**rx**, **ry**)                                       |
| <[**polygon**](shape/polygon)>   | vertices: **points**                                                                    |
| <[**polyline**](shape/polyline)> | **points**                                                                              |
| <[**path**](shape/path)>         | draw?: **d**                                                                            |

| tag          | meaning     |
| ------------ | ----------- |
| <**defs**>   | definitions |
| <**g**>      | group       |
| <**symbol**> |             |
{% endtab %}

{% tab title="Second Tab" %}

{% endtab %}
{% endtabs %}
