misakuo / svgtoandroid

Converting SVG to VectorDrawable
https://plugins.jetbrains.com/plugin/8103
MIT License
528 stars 45 forks source link

Converting from polygon with points #18

Closed rbloomdaleIXL closed 7 years ago

rbloomdaleIXL commented 7 years ago

There is a bug where if converting from a polygon in the form <polygon points="0 0 0 100 100 100 100 0 0 0" fill="#0000FF"/> results in an invalid vector path of the form <path android:fillColor="#0000FF" android:pathData="M0 L0 L0 L100 L100 L100 L100 L0 L0 L0 z" /> where it should be <path android:fillColor="#0000FF" android:pathData="M0,0 L0,100 L100,100 L100,0 L0,0 z" />

misakuo commented 7 years ago

welcome to pull request for this issue, the code is here

misakuo commented 7 years ago

Please update to version 1.6.1

rbloomdaleIXL commented 7 years ago

Thank you. Especially for being so quick