text on bent line : textPath « SVG « XML






text on bent line



<svg>
<path id="meander" d="M 100 200 L 300 100 H 350 L 450 300" style="fill: none; stroke: none;"/>

<text style="font-size: 12pt;" >
  <textPath xlink:href="#meander">
    This is a test. This is a test. This is a test.
  </textPath>
</text>

</svg>

 








Related examples in the same category

1.Circular text