public static _Rectangle Union(_Rectangle rectangle1, _Rectangle rectangle2) { return(new _Rectangle(HorizontalLine.Union(rectangle1.Horizontal, rectangle2.Horizontal), VerticalLine.Union(rectangle1.Vertical, rectangle2.Vertical))); }