ICanvasRenderingContext2DIsPointInStroke Method (Path2D, Double, Double) |
Reports whether or not the specified point is inside the area contained by the stroking of a path.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxbool IsPointInStroke(
Path2D path,
double x,
double y
)
Function IsPointInStroke (
path As Path2D,
x As Double,
y As Double
) As Boolean
bool IsPointInStroke(
Path2D^ path,
double x,
double y
)
abstract IsPointInStroke :
path : Path2D *
x : float *
y : float -> bool
Parameters
- path
- Type: Aspose.Html.Dom.CanvasPath2D
A Path2D path to check. - x
- Type: SystemDouble
The X coordinate of the point to check. - y
- Type: SystemDouble
The Y coordinate of the point to check.
Return Value
Type:
BooleanReturns true if the point is inside the area contained by the stroking of a path, otherwise false.
See Also