Skip to main content
charlottel76796932
Participant
February 26, 2020
Question

Closed Path to Polygon - Export SVG

  • February 26, 2020
  • 2 replies
  • 3263 views

We are building an interactive SVG file and I am trying to understand how we can convert the closed paths drawn into polygons. Polygons in the SVG are used in our web application to zoom amongst other things, for what ever reason havent been able to get paths to work in a similar way.

 

I assumed a closed path would convert to a polygon and behave in a similar way as a rectangle, but comes out as a path when exported.

I have attempted to convert the paths to shapes but havent had any success, still presents as paths in the saved SVG.

Object -> Shape -> Convert

 

Really keen to avoid redrawing everything as an actual rectangle, adding points and then adjusting everything. I would hate to think what effort that would take

 

What is the best method to achieve the desired outcome?

This topic has been closed for replies.

2 replies

meganchi
Legend
February 26, 2020

Do you have Sketch? If so, try opening and exporting your paths from Sketch to see if it will convert the paths to polygons.

Legend
February 26, 2020

Shapes are regular and cannot be built from pen drawn (closed) paths. Use the Polygon tool or the rectangle one.