Converted from svg path string to Shape instance