ICanvasRenderingContext2D.IsPointInPath
Contents
[
Hide
]IsPointInPath(double, double)
Reports whether or not the specified point is contained in the current path.
public bool IsPointInPath(double x, double y)
Parameter | Type | Description |
---|---|---|
x | Double | The X coordinate of the point to check. |
y | Double | The Y coordinate of the point to check. |
Return Value
Returns true if the point is inside the area contained by the filling of a path, otherwise false.
See Also
- interface ICanvasRenderingContext2D
- namespace Aspose.Html.Dom.Canvas
- assembly Aspose.HTML
IsPointInPath(double, double, CanvasFillRule)
Reports whether or not the specified point is contained in the current path.
public bool IsPointInPath(double x, double y, CanvasFillRule fillRule)
Parameter | Type | Description |
---|---|---|
x | Double | The X coordinate of the point to check. |
y | Double | The Y coordinate of the point to check. |
fillRule | CanvasFillRule | The algorithm by which to determine if a point is inside a path or outside a path. |
Return Value
Returns true if the point is inside the area contained by the filling of a path, otherwise false.
See Also
- enum CanvasFillRule
- interface ICanvasRenderingContext2D
- namespace Aspose.Html.Dom.Canvas
- assembly Aspose.HTML
IsPointInPath(Path2D, double, double)
Reports whether or not the specified point is contained in the current path.
public bool IsPointInPath(Path2D path, double x, double y)
Parameter | Type | Description |
---|---|---|
path | Path2D | A Path2D path to check. |
x | Double | The X coordinate of the point to check. |
y | Double | The Y coordinate of the point to check. |
Return Value
Returns true if the point is inside the area contained by the filling of a path, otherwise false.
See Also
- class Path2D
- interface ICanvasRenderingContext2D
- namespace Aspose.Html.Dom.Canvas
- assembly Aspose.HTML
IsPointInPath(Path2D, double, double, CanvasFillRule)
Reports whether or not the specified point is contained in the current path.
public bool IsPointInPath(Path2D path, double x, double y, CanvasFillRule fillRule)
Parameter | Type | Description |
---|---|---|
path | Path2D | A Path2D path to check. |
x | Double | The X coordinate of the point to check. |
y | Double | The Y coordinate of the point to check. |
fillRule | CanvasFillRule | The algorithm by which to determine if a point is inside a path or outside a path. |
Return Value
Returns true if the point is inside the area contained by the filling of a path, otherwise false.
See Also
- class Path2D
- enum CanvasFillRule
- interface ICanvasRenderingContext2D
- namespace Aspose.Html.Dom.Canvas
- assembly Aspose.HTML