Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRectangle Structure / Contains Method / Contains(Double,Double) Method


In This Topic
    Contains(Double,Double) Method
    In This Topic
    Determines whether the rectangle contains the point with the specified coordinates
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal x As System.Double, _
       ByVal y As System.Double _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NRectangle
    Dim x As System.Double
    Dim y As System.Double
    Dim value As System.Boolean
     
    value = instance.Contains(x, y)
    public System.bool Contains( 
       System.double x,
       System.double y
    )

    Parameters

    x
    y
    Remarks
    This method considers the a point on the right and and bottoms sides of the rectangle as an outside point
    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