Protogame.HorizontalContainer.CreateChildLayout C# (CSharp) Method

CreateChildLayout() protected method

protected CreateChildLayout ( Rectangle layout, int accumulated, int size ) : Rectangle
layout Microsoft.Xna.Framework.Rectangle
accumulated int
size int
return Microsoft.Xna.Framework.Rectangle
        protected override Rectangle CreateChildLayout(Rectangle layout, int accumulated, int size)
        {
            return new Rectangle(layout.X + accumulated, layout.Y, size, layout.Height);
        }