Flood.Tests.GUI.RenderBounds C# (CSharp) Méthode

RenderBounds() public méthode

public RenderBounds ( Control control, int &width, int &height ) : void
control Flood.GUI.Controls.Control
width int
height int
Résultat void
        void RenderBounds(Control control, ref int width, ref int height)
        {
            if (control.Right > width)
                width = control.Right;

            if (control.Bottom > height)
                height = control.Bottom;
        }