eDriven Framework API
CalculateBounds Method (parentWidth, parentHeight, left, right, top, bottom, width, height)
Namespaces ► eDriven.Gui.Graphics.Base ► BoundsUtil ► CalculateBounds(Single, Single, Nullable<(Of <<'(Single>)>>), Nullable<(Of <<'(Single>)>>), Nullable<(Of <<'(Single>)>>), Nullable<(Of <<'(Single>)>>), Nullable<(Of <<'(Single>)>>), Nullable<(Of <<'(Single>)>>))
eDriven Framework API
Declaration Syntax

C# | Visual Basic | Visual C++

    public static Rectangle CalculateBounds(
    	float parentWidth,
    	float parentHeight,
    	Nullable<float> left,
    	Nullable<float> right,
    	Nullable<float> top,
    	Nullable<float> bottom,
    	Nullable<float> width,
    	Nullable<float> height
    )

    Public Shared Function CalculateBounds ( _
    	parentWidth As Single, _
    	parentHeight As Single, _
    	left As Nullable(Of Single), _
    	right As Nullable(Of Single), _
    	top As Nullable(Of Single), _
    	bottom As Nullable(Of Single), _
    	width As Nullable(Of Single), _
    	height As Nullable(Of Single) _
    ) As Rectangle

    public:
    static Rectangle^ CalculateBounds(
    	float parentWidth,
    	float parentHeight,
    	Nullable<float> left,
    	Nullable<float> right,
    	Nullable<float> top,
    	Nullable<float> bottom,
    	Nullable<float> width,
    	Nullable<float> height
    )

Parameters

parentWidth (Single)

parentHeight (Single)

left (Nullable<(Of <(<'Single>)>)>)

right (Nullable<(Of <(<'Single>)>)>)

top (Nullable<(Of <(<'Single>)>)>)

bottom (Nullable<(Of <(<'Single>)>)>)

width (Nullable<(Of <(<'Single>)>)>)

height (Nullable<(Of <(<'Single>)>)>)

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