You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It shouldn't be too difficult to adapt this for editing SVG <path>.
Under the hood, this library already uses SVG (Snap.svg) to draw the editor UI. The polygon editor is actually represented with a <path> and its d value is rebuilt as the user edits vertices.
For now, it only supports Move and Line, no Arcs or Curves since these are not yet supported in the CSS Shapes polygon() syntax. With a bit of UI additions, you can adapt it for editing SVG paths.
What would be involved with creating an editor for the
d
attribute of thepath
tag?The text was updated successfully, but these errors were encountered: