Nevron.GraphicsCore Namespace / NRectangle Structure / FromTwoPoints Method / FromTwoPoints(Int32,Int32,Int32,Int32) Method


In This Topic
    FromTwoPoints(Int32,Int32,Int32,Int32) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromTwoPoints( _
       ByVal x1 As System.Integer, _
       ByVal y1 As System.Integer, _
       ByVal x2 As System.Integer, _
       ByVal y2 As System.Integer _
    ) As NRectangle
    'Usage
     
    
    Dim x1 As System.Integer
    Dim y1 As System.Integer
    Dim x2 As System.Integer
    Dim y2 As System.Integer
    Dim value As NRectangle
     
    value = NRectangle.FromTwoPoints(x1, y1, x2, y2)
    public static NRectangle FromTwoPoints( 
       System.int x1,
       System.int y1,
       System.int x2,
       System.int y2
    )

    Parameters

    x1
    y1
    x2
    y2
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also