is_point_in_stroke method

is_point_in_stroke

Determines whether the specified point is inside the current stroked path.

Returns

true if the point is inside the stroked path; otherwise, false.

def is_point_in_stroke(self, x, y):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the point to test.
yfloatThe y-coordinate of the point to test.

is_point_in_stroke

Determines whether the specified point is inside the specified stroked path.

Returns

true if the point is inside the stroked path; otherwise, false.

def is_point_in_stroke(self, path, x, y):
    ...
ParameterTypeDescription
pathIPathThe path to test. See IPath.
xfloatThe x-coordinate of the point to test.
yfloatThe y-coordinate of the point to test.

See Also