System.Drawing.Drawing2D.GraphicsPath.IsOutlineVisible Method

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

Syntax

public bool IsOutlineVisible (float x, float y, System.Drawing.Pen pen)

Parameters

x
The x-coordinate of the point to test.
y
The y-coordinate of the point to test.
pen
The System.Drawing.Pen to test.

Returns

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

Remarks

This method tests to see if the outline of a given path is rendered visible at the specified point.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0