Make an init method for an SVG string.