GraphicsPath.IsOutlineVisible Method (Single, Single, Pen)

 

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

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public bool IsOutlineVisible(
	float x,
	float y,
	Pen pen
)

Parameters

x
Type: System.Single

The x-coordinate of the point to test.

y
Type: System.Single

The y-coordinate of the point to test.

pen
Type: System.Drawing.Pen

The Pen to test.

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 1.1
Return to top
Show: