+ 5

How to write text in <polygon> in SVGs?

I want to make a shape and write in it using SVG. Is it possible? How can I do that?

22nd Dec 2016, 4:08 AM
$machitgarha
$machitgarha - avatar
2 Answers
+ 4
Really thanks; but is there a way to do this with SVG?
23rd Dec 2016, 5:30 AM
$machitgarha
$machitgarha - avatar
+ 1
Hey, maybe this guides you into the right direction ;-) This is an example of text wrapped within a svg shape ( in this case a circle) http://jsfiddle.net/upq6L/102/ And here a little help for drawing polygones ... http://scienceprimer.com/drawing-regular-polygons-javascript-canvas now just combine these two :-) I hope this helps a little bit
22nd Dec 2016, 4:23 AM
Daniel Sattler
Daniel Sattler - avatar