Illustrator SVG code for polygon or paths

Discussion in 'Graphics & Multimedia' started by everlive, Mar 15, 2016.

  1. #1
    So, I am curious as to which is better for the web SVG polygons or paths. Right now I am using Illustrator CS6 to generate polygon points, but I am running into issues where I can only generate paths.

    Such as making a simple 45 degree perfect rhombus or diamond, it will spit out a transform matrix for the SVG code. As a result I change it to a compound path so now it spits out a SVG path. I wanted to use polygons, is there a way to change the Illustrator code so that it spits out polygon points for those situation or should I just bite the bullet and use paths.

    Would it be better to use paths since paths allow for curves?
    I am trying to use what is faster and from what I understand polygons are faster, so some feedback would be great on this matter.
     
    everlive, Mar 15, 2016 IP