OutlineContains(PointF,IDrawingPen) Method (IGraphicsPath)
Returns a value indicating whether the specified point is contained within (under) the outline of this path when drawn with the specified pen.
'Declaration
Public Function OutlineContains( _
ByVal As System.Drawing.PointF, _
ByVal As IDrawingPen _
) As Boolean
Parameters
- point
- Point to test.
- pen
- Pen to set the test outline.
Return Value
True - point is contained within this path; false - point is not contained within this path.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5