Axiom.Core.RectangleF.Merge C# (CSharp) Метод

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

public Merge ( RectangleF rhs ) : RectangleF
rhs RectangleF
Результат RectangleF
		public RectangleF Merge( RectangleF rhs )
		{
			if ( Width == 0 )
			{
				this = rhs;
			}
			else
			{
				Left = System.Math.Min( Left, rhs.Left );
				Right = System.Math.Max( Right, rhs.Right );
				Top = System.Math.Min( Top, rhs.Top );
				Bottom = System.Math.Max( Bottom, rhs.Bottom );
			}

			return this;
		}