regebro / svg.path

SVG path objects and parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

z close to the start of the first subpath start point

abcjjy opened this issue · comments

According to svg spec:

The "closepath" (Z or z) ends the current subpath and causes an automatic straight line to be drawn from the current point to the initial point of the current subpath.

However, svg.path always close to start of the first subpath.

Good catch, thanks for the patch!