Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

isPointInPath method

Determines if the specified point is in the current path.

HTML Canvas 2D Context, Section 9Internet Explorer 9

 

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft