Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRectangleF Structure / FromTwoPoints Method / FromTwoPoints(Single,Single,Single,Single) Method


In This Topic
    FromTwoPoints(Single,Single,Single,Single) Method
    In This Topic
    Gets a normalized rectangle from two points
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromTwoPoints( _
       ByVal x1 As System.Single, _
       ByVal y1 As System.Single, _
       ByVal x2 As System.Single, _
       ByVal y2 As System.Single _
    ) As NRectangleF
    'Usage
     
    
    Dim x1 As System.Single
    Dim y1 As System.Single
    Dim x2 As System.Single
    Dim y2 As System.Single
    Dim value As NRectangleF
     
    value = NRectangleF.FromTwoPoints(x1, y1, x2, y2)
    public static NRectangleF FromTwoPoints( 
       System.float x1,
       System.float y1,
       System.float x2,
       System.float 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