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 and using the specified System.Drawing.Graphics.
- pt
A System.Drawing.PointF that specifies the location to test.
- pen
The System.Drawing.Pen to test.
- graphics
The System.Drawing.Graphics for which to test visibility.
![]()
This method returns true if the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath as drawn with the specified System.Drawing.Pen; otherwise, false.
This method tests to see if the outline of a given path is rendered visible at the specified point. The coordinates of the point to be tested are given in world coordinates. The transform matrix of graphics is temporarily applied before testing for visibility.