GraphicsPath::IsOutlineVisible Method (Int32, Int32, 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(
	int x,
	int y,
	Pen^ pen
)

Parameters

x
Type: System::Int32

The x-coordinate of the point to test.

y
Type: System::Int32

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: