Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRectangleD Structure / FromCenterAndSize Method


In This Topic
    FromCenterAndSize Method (NRectangleD)
    In This Topic
    Gets a rectangle from center and dimensions
    Syntax
    'Declaration
     
    
    Public Shared Function FromCenterAndSize( _
       ByVal center As NPointD, _
       ByVal width As System.Double, _
       ByVal height As System.Double _
    ) As NRectangleD
    'Usage
     
    
    Dim center As NPointD
    Dim width As System.Double
    Dim height As System.Double
    Dim value As NRectangleD
     
    value = NRectangleD.FromCenterAndSize(center, width, height)
    public static NRectangleD FromCenterAndSize( 
       NPointD center,
       System.double width,
       System.double height
    )

    Parameters

    center
    width
    height
    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