ICanvas.IsPointInPath

IsPointInPath(float, float, FillRule)

Determines whether the specified point is inside the current path using the specified fill rule.

public bool IsPointInPath(float x, float y, FillRule mode)
ParameterTypeDescription
xSingleThe x-coordinate of the point to test.
ySingleThe y-coordinate of the point to test.
modeFillRuleThe fill rule to use for testing. See FillRule.

Return Value

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

See Also


IsPointInPath(IPath, float, float, FillRule)

Determines whether the specified point is inside the specified path using the specified fill rule.

public bool IsPointInPath(IPath path, float x, float y, FillRule mode)
ParameterTypeDescription
pathIPathThe path to test.See IPath.
xSingleThe x-coordinate of the point to test.
ySingleThe y-coordinate of the point to test.
modeFillRuleThe fill rule to use for testing. See FillRule.

Return Value

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

See Also