poor content

not useful

useful

very useful

excellent

Rate

path extra coordinates head thumbnail

January 24, 2022

Alireza Ataei

By: Alireza Ataei

Extra coordinates in SVG path commands

Reading time: min

    Content List

Normally, the number of coordinates in each path is constant and defined, but some times, there might be less or more coordinates than expected

In case the coordinates in the command were more than expected like this:

path extra coordinates

Now, in the Smooth curveto, the expected number of coordinates are two[(x1, y1), (x2, y2)], but here, we see two more coordinates

The Extras: Notice that there are exactly two coordinates extra(in which the expected coordinates amount is two as well) which means it’s doubled

This is basically a shortcut for path when you want to use two of the same command(even with different coordinates but same identifier)

Which means, beside the M, we have got two Smooth curveto commands here:

Was this page helpful?

What was the most helpful point of this page for you?

Thanks for your cooperation!

poor content

not useful

useful

very useful

excellent

Comments0

Leave a Reply

Your email address will not be published.