On 7/21/16, 7:06 AM, "Harbs" <harbs.li...@gmail.com> wrote:
>For svg and canvas, the drawing commands map pretty cleanly to their HTML >counterparts, so it would be pretty clean. I haven't spent any serious time thinking about it. Just quickly, I saw flash.display.Graphics.drawPath which seems quite different from SVG drawPath. And that's the sort of thing I was referring to. IMO, no need to require folks to use Vectors of ValueObjects to define the path, just let them use the encoded string format. And if there are incompatibilities between the syntax used by Flex vs SVG, choose the SVG one and have the FlexJS implementation do the scanning of the path string. Don't have the JS implementation make the developer pay for the scan. Again, just my 2 cents, -Alex