Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NPolygon Class / Contains Method / Contains(NPoint,ENFillRule) Method
point with which to test
defines the way in which the polygon interior is filled


In This Topic
    Contains(NPoint,ENFillRule) Method
    In This Topic
    Determines whether the primitive interior contains the specified point
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal point As NPoint, _
       ByVal fillRule As ENFillRule _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPolygon
    Dim point As NPoint
    Dim fillRule As ENFillRule
    Dim value As System.Boolean
     
    value = instance.Contains(point, fillRule)
    public System.bool Contains( 
       NPoint point,
       ENFillRule fillRule
    )

    Parameters

    point
    point with which to test
    fillRule
    defines the way in which the polygon interior is filled
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also