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


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