When the new path object is available it will mean that
testing multiple paths gets really easy. To allow the isPointInPath() function to work with path objects you can specify
the path to be tested as one of the arguments to the function like this: