G
G
Gennady Dorokhin2019-07-15 12:59:49
HTML
Gennady Dorokhin, 2019-07-15 12:59:49

How to convert Rect to Polygon?

There is an SVG floor map.
Hints bind to coordinates

<polygon points="2534.73 990.07 2534.73 1119.98 2461.83 1119.98 2461.83 1147.88 2397.8 1147.88 2397.8 990.07 2534.73 990.07" style="fill: #314077;fill-rule: evenodd"/>

But some apartments look like this
<rect x="2397.8" y="880.86" width="108.43" height="103.36" style="fill: #314077"/>
  <rect x="2397.8" y="771.36" width="108.43" height="103.65" style="fill: #314077"/>

Almost the entire residential complex has already been tied to the coordinates, except for these apartments.
Tell me kind people how to convert Rect to Polygon in this SVG?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question