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.
- 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.
- 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 the graphics parameter is temporarily applied before testing for visibility.