Click or drag to resize

RectangleUnion Method (Rectangle, Rectangle)

Combines two rectangles into one rectangle that encompasses both

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static Rectangle Union(
	Rectangle rect1,
	Rectangle rect2
)

Parameters

rect1
Type: Eto.DrawingRectangle
First rectangle to union
rect2
Type: Eto.DrawingRectangle
Second rectangle to union

Return Value

Type: Rectangle
A new Rectangle that encompasses both rect1 and rect2
See Also