Although, I’d probably rename the function to drawPathString() to make it clear 
that it’s different than the Flash implementation.

On Jul 21, 2016, at 7:25 PM, Harbs <harbs.li...@gmail.com> wrote:

> Yes. drawPath is an exception. But curveTo, quadraticCurveTo, etc.should 
> behave as it did in Flash.
> 
> On Jul 21, 2016, at 7:21 PM, Alex Harui <aha...@adobe.com> wrote:
> 
>> 
>> 
>> 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
>> 
> 

Reply via email to