flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: js.swc ispointinpath
Date Thu, 14 Jan 2016 15:45:45 GMT

On 1/14/16, 4:49 AM, "lizhi" <sliz@qq.com> wrote:

>https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/
>isPointInPath
>
>boolean ctx.isPointInPath(x, y);
>boolean ctx.isPointInPath(x, y, fillRule);
>
>boolean ctx.isPointInPath(path, x, y);
>boolean ctx.isPointInPath(path, x, y, fillRule);
>
>where is the 3,4line?
>

ActionScript doesn't currently allow method overloading, so the choices
would be to strongly type the parameters or loosely type them.

-Alex

Mime
View raw message