Determines if the specified point is in the current path.
![]() |
Syntax
var retval = CanvasRenderingContext2D.isPointInPath(x, y);Parameters
- x [in]
-
Type: Floating-point
The x-coordinate to test.
- y [in]
-
Type: Floating-point
The y-coordinate to test.
Return value
Type: Boolean
| Return value | Description |
|---|---|
|
The point is not in the current path. |
|
The point is in the current path. |
Standards information
- HTML Canvas 2D Context, Section 9
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012
.png)
.png)