is_point_in_path method
Contents
[
Hide
]is_point_in_path
Determines whether the specified point is inside the current path using the specified fill rule.
Returns
true
if the point is inside the path; otherwise, false
.
def is_point_in_path(self, x, y, mode):
...
Parameter | Type | Description |
---|---|---|
x | float | The x-coordinate of the point to test. |
y | float | The y-coordinate of the point to test. |
mode | aspose.svg.drawing.FillRule | The fill rule to use for testing. See FillRule . |
is_point_in_path
Determines whether the specified point is inside the specified path using the specified fill rule.
Returns
true
if the point is inside the path; otherwise, false
.
def is_point_in_path(self, path, x, y, mode):
...
Parameter | Type | Description |
---|---|---|
path | IPath | The path to test.See IPath . |
x | float | The x-coordinate of the point to test. |
y | float | The y-coordinate of the point to test. |
mode | aspose.svg.drawing.FillRule | The fill rule to use for testing. See FillRule . |
See Also
- module
aspose.svg.rendering
- class
FillRule
- class
ICanvas
- class
IPath