pts icon indicating copy to clipboard operation
pts copied to clipboard

Digest SVG Lineart to use in SVGForm.polygon?

Open aksperiod opened this issue 4 years ago • 1 comments

Is it possible to translate the points in the SVG below into polygon points? What about one that uses the path attribute?

Thanks!

<polygon id="Path_Z" fill="#000000" fill-rule="nonzero" points="62.463 109.714 37.542 109.714 62.139 89 62.139 83.176 25.568 83.176 25.568 90.3 49.193 90.3 25.568 111.009 25.568 116.834 62.468 116.834 62.468 109.714"></polygon>

aksperiod avatar Jun 02 '20 23:06 aksperiod

Hi @aksperiod , currently Pts doesn't support SVG parsing yet. Sorry about that. There are a number of open source svg parsers, so I would recommend using one to do the parsing, and then convert it to Pts Group.

williamngan avatar Jun 17 '20 07:06 williamngan