How to fit and wrap text inside SVG polygon

I simply want to know how to generate an SVG path that centers, fits, and curves inside of a SVG polygon. I assume the method of doing this would be through Javascript. Reference below.

enter image description here

Leave a Comment