Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPolygonF Class / FromRect Method


In This Topic
    FromRect Method
    In This Topic
    Creates a polygon from the given rectangle.
    Syntax
    'Declaration
     
    
    Public Shared Function FromRect( _
       ByVal rect As NRectangleF _
    ) As NPolygonF
    'Usage
     
    
    Dim rect As NRectangleF
    Dim value As NPolygonF
     
    value = NPolygonF.FromRect(rect)
    public static NPolygonF FromRect( 
       NRectangleF rect
    )

    Parameters

    rect
    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