eDriven Framework API
CenterRect Method (inner, outer)
Namespaces ► eDriven.Core.Util ► StageUtil ► CenterRect(Rectangle, Rectangle)
eDriven Framework API
Centers the inner inside the outer Rectangle
Declaration Syntax

C# | Visual Basic | Visual C++

    public static Rectangle CenterRect(
    	Rectangle inner,
    	Rectangle outer
    )

    Public Shared Function CenterRect ( _
    	inner As Rectangle, _
    	outer As Rectangle _
    ) As Rectangle

    public:
    static Rectangle^ CenterRect(
    	Rectangle^ inner,
    	Rectangle^ outer
    )

Parameters

inner (Rectangle)

outer (Rectangle)

Return Value

Assembly: eDriven.Core (Module: eDriven.Core) Version: 2.0.1.0 (2.0.1.0)