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


In This Topic
    FromCenterAndSize(NPointF,Single,Single) Method
    In This Topic
    Gets a rectangle from center and dimensions
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromCenterAndSize( _
       ByVal center As NPointF, _
       ByVal width As System.Single, _
       ByVal height As System.Single _
    ) As NRectangleF
    'Usage
     
    
    Dim center As NPointF
    Dim width As System.Single
    Dim height As System.Single
    Dim value As NRectangleF
     
    value = NRectangleF.FromCenterAndSize(center, width, height)
    public static NRectangleF FromCenterAndSize( 
       NPointF center,
       System.float width,
       System.float 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