Click or drag to resize

RectangleFUnion Method (RectangleF, RectangleF)

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 RectangleF Union(
	RectangleF rect1,
	RectangleF rect2
)

Parameters

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

Return Value

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