GraphicsPath.IsOutlineVisible Method (Point, 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(
	Point point,
	Pen pen
)

Parameters

point
Type: System.Drawing.Point

A Point that specifies the location 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: