Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRectangleF Structure / FromCenterAndSize Method / FromCenterAndSize(NPointF,NSizeF) Method


In This Topic
    FromCenterAndSize(NPointF,NSizeF) Method
    In This Topic
    Gets a rectangle from center and dimensions
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromCenterAndSize( _
       ByVal center As NPointF, _
       ByVal size As NSizeF _
    ) As NRectangleF
    'Usage
     
    
    Dim center As NPointF
    Dim size As NSizeF
    Dim value As NRectangleF
     
    value = NRectangleF.FromCenterAndSize(center, size)
    public static NRectangleF FromCenterAndSize( 
       NPointF center,
       NSizeF size
    )

    Parameters

    center
    size
    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