On 1/14/16, 4:49 AM, "lizhi" <s...@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