Text Following a Specified Path
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="100%" height="100%">
<defs>
<path id="pathDefinition" d="m0,0 Q100,0 200,200 T300,200 z" />
</defs>
<g transform="translate(100,100)">
<text id="textStyle" fill="red" stroke="blue" stroke-width="2"
font-size="24">
<textPath xlink:href="#pathDefinition">
A Quadratic Bezier curve
</textPath>
</text>
</g>
</svg>
Related examples in the same category