Canvas Tutorials

Canvas Methods and Properties

HTML canvas isPointInPath() Method

HTML canvas isPointInPath() Method



The isPointInPath() method is used to return true if the specified point is in the current path, otherwise false.




Its syntax is- context.isPointInPath(x, y);


Further Explanation:-


Parameter Description
x The x-coordinate to test
y The y-coordinate to test

Code Explanation

All Tutorials related to Canvas Methods and Properties

All Sections related to Canvas