text on bent line : textPath « SVG « XML

Home
XML
1.CSS Style
2.SVG
3.XML Schema
4.XQuery
5.XSLT stylesheet
XML » SVG » textPath 
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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.