is_point_in_stroke method
Contents
[
Hide
]is_point_in_stroke
Reports whether or not the specified point is inside the area contained by the stroking of a path.
Returns
Returns true if the point is inside the area contained by the stroking of a path, otherwise false.
def is_point_in_stroke(self, x, y):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The X coordinate of the point to check. |
| y | float | The Y coordinate of the point to check. |
is_point_in_stroke
Reports whether or not the specified point is inside the area contained by the stroking of a path.
Returns
Returns true if the point is inside the area contained by the stroking of a path, otherwise false.
def is_point_in_stroke(self, path, x, y):
...
| Parameter | Type | Description |
|---|---|---|
| path | Path2D | A Path2D path to check. |
| x | float | The X coordinate of the point to check. |
| y | float | The Y coordinate of the point to check. |
See Also
- module
aspose.html.dom.canvas - class
ICanvasRenderingContext2D