
SVG provides number of shapes which can be used to draw images. Following are the common shapes.
| Sr.No. | Shape Type & Description |
|---|---|
| 1 | rect
Used to draw a rectangle. |
| 2 | circle
Used to draw a circle. |
| 3 | ellipse
Used to draw a ellipse. |
| 4 | line
Used to draw a line. |
| 5 | polygon
Used to draw a closed shape consisting of connected straight lines. |
| 6 | polyline
Used to draw a open shape consisting of connected straight lines. |
| 7 | path
Used to draw any path. |