Пример #1
0
        public void Extend(Rect rect)
        {
            if (this.Width < rect.Width)
                this.Width = rect.Width;

            if (this.Height < rect.Height)
                this.Height = rect.Height;
        }
Пример #2
0
 static Rect()
 {
     Rect.Empty = new Rect(0,0,0,0);
 }
Пример #3
0
 public void SetRenderedBounds(Rect rect)
 {
     this._bounds = rect;
 }