2010-12-14 2 views
2

Je travaille sur une application svg. Problème Je suis face à ces jours est que je dois ajouter un cercle dans un textPath au lieu d'une chaîne de texte, comment sera de mettre en œuvre que, toute aide sera génial, merci à l'avancecomment ajouter un obj de cercle dans textPath

Répondre

1

Ici, http://tutorials.jenkov.com/svg/textpath-element.html

vous trouverez:

<defs> 
    <path id="myTextPath" 
      d="M75,20 
      a1,1 0 0,0 100,0 
      " 
      /> 
</defs> 

<text x="10" y="100" style="stroke: #000000;"> 
    <textPath xlink:href="#myTextPath" > 
     Text along a curved path... 
    </textPath> 
</text> 

Crédits à Jakob Je nkov!

Questions connexes