SVG code examples
This page shows examples of the use of Scalable Vector Graphics code elements in some images.
Basic shapes edit
-
Polygon
-
Rectangles with height and width
-
Circles
-
Ellipses
Path edit
-
"H" and "V" produce horizontal and vertical lines to given coordinate values
-
"q" generates the parabola as a quadratic Bezier curve
-
"c" generates a cubic Bezier curve
-
"a" can generate an elliptic arc
Line attributes edit
-
stroke-dasharray
Gradients edit
-
Linear gradient
-
Radial gradient