Skip to main content
isPointInPath method

Determines if the specified point is in the current path.

HTML Canvas 2D Context, Section 9 Internet Explorer 9

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 valueDescription
false

The point is not in the current path.

true

The point is in the current path.

 

Standards information

See also

CanvasRenderingContext2D

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012