Share via


isPointInPath method

Determines if the specified point is in the current path.

 

Syntax

 retVal = object.isPointInPath(x, y, fillRule);

Parameters

  • x [in]
    Type: number

    The x-coordinate to test.

  • y [in]
    Type: number

    The y-coordinate to test.

  • fillRule [in, optional]
    Type: DOMString

    Set to the evenodd fill rule.

Standards information

Remarks

Starting with Internet Explorer 11 this method uses the non-zero winding number rule or the even-odd rule, based on the setting of the optional fillRule parameter. Earlier versions offer only the default non-zero winding number rule.

See also

msFillRule