ICanvasRenderingContext2DIsPointInPath Method (Double, Double, CanvasFillRule) |
Reports whether or not the specified point is contained in the current path.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxbool IsPointInPath(
double x,
double y,
CanvasFillRule fillRule
)
Function IsPointInPath (
x As Double,
y As Double,
fillRule As CanvasFillRule
) As Boolean
bool IsPointInPath(
double x,
double y,
CanvasFillRule fillRule
)
abstract IsPointInPath :
x : float *
y : float *
fillRule : CanvasFillRule -> bool
Parameters
- x
- Type: SystemDouble
The X coordinate of the point to check. - y
- Type: SystemDouble
The Y coordinate of the point to check. - fillRule
- Type: Aspose.Html.Dom.CanvasCanvasFillRule
The algorithm by which to determine if a point is inside a path or outside a path.
Return Value
Type:
BooleanReturns true if the point is inside the area contained by the filling of a path, otherwise false.
See Also