ICanvas.IsPointInStroke

IsPointInStroke(float, float)

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

public bool IsPointInStroke(float x, float y)
ParameterTypeDescription
xSingleThe x-coordinate of the point to test.
ySingleThe y-coordinate of the point to test.

Return Value

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

See Also


IsPointInStroke(IPath, float, float)

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

public bool IsPointInStroke(IPath path, float x, float y)
ParameterTypeDescription
pathIPathThe path to test. See IPath.
xSingleThe x-coordinate of the point to test.
ySingleThe y-coordinate of the point to test.

Return Value

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

See Also