is_point_in_path method
Contents
[
Hide
]is_point_in_path
Reports whether or not the specified point is contained in the current path.
Returns
Returns true if the point is inside the area contained by the filling of a path, otherwise false.
def is_point_in_path(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_path
Reports whether or not the specified point is contained in the current path.
Returns
Returns true if the point is inside the area contained by the filling of a path, otherwise false.
def is_point_in_path(self, x, y, fill_rule):
...
Parameter | Type | Description |
---|---|---|
x | float | The X coordinate of the point to check. |
y | float | The Y coordinate of the point to check. |
fill_rule | CanvasFillRule | The algorithm by which to determine if a point is inside a path or outside a path. |
is_point_in_path
Reports whether or not the specified point is contained in the current path.
Returns
Returns true if the point is inside the area contained by the filling of a path, otherwise false.
def is_point_in_path(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. |
is_point_in_path
Reports whether or not the specified point is contained in the current path.
Returns
Returns true if the point is inside the area contained by the filling of a path, otherwise false.
def is_point_in_path(self, path, x, y, fill_rule):
...
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. |
fill_rule | CanvasFillRule | The algorithm by which to determine if a point is inside a path or outside a path. |
See Also
- module
aspose.html.dom.canvas
- class
ICanvasRenderingContext2D