[<<][webdev][>>][..]
Sun Aug 20 18:57:42 EDT 2017

Better path handling

Resultion using integers is really bad.  Using API might be simpler
than using float formatting.

SVGPathSegMovetoAbs
SVGPathSegLinetoRel

So how to use this?
The path element has the following property:
animatedPathSegList
how to add to that?

temp0.animatedPathSegList.clear()
NoModificationAllowedError: Modifications are not allowed for this document

p.pathSegList.clear() does work.  above is probably coming from some other form of animation

p.pathSegList.appendItem()

Now, how to create items?

SVGPathElement.createSVGPathSegMovetoAbs()  
https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement




[Reply][About]
[<<][webdev][>>][..]