LayoutFarm.RenderElement.SetBounds C# (CSharp) Метод

SetBounds() публичный Метод

public SetBounds ( int left, int top, int width, int height ) : void
left int
top int
width int
height int
Результат void
        public void SetBounds(int left, int top, int width, int height)
        {
            if (parentLink == null)
            {
                this.b_left = left;
                this.b_top = top;
                this.b_width = width;
                this.b_height = height;
            }
            else
            {
                var prevBounds = this.RectBounds;
                this.b_left = left;
                this.b_top = top;
                this.b_width = width;
                this.b_height = height;
                this.InvalidateGraphicBounds(Rectangle.Union(prevBounds, this.RectBounds));
            }
        }
    }