GraphicsPath.IsOutlineVisible

IsOutlineVisible(float, float, Pen)

Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.

public bool IsOutlineVisible(float x, float y, Pen pen)
ParameterTypeDescription
xSingleThe x-coordinate of the point to test.
ySingleThe y-coordinate of the point to test.
penPenThe Pen to test.

Return Value

This method returns true if the specified point is contained within the outline of this GraphicsPath when drawn with the specified Pen; otherwise, false.

See Also


IsOutlineVisible(PointF, Pen)

Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.

public bool IsOutlineVisible(PointF point, Pen pen)
ParameterTypeDescription
pointPointFA PointF that specifies the location to test.
penPenThe Pen to test.

Return Value

This method returns true if the specified point is contained within the outline of this GraphicsPath when drawn with the specified Pen; otherwise, false.

See Also