Click or drag to resize
DigitalRuneRectangleFUnion Method
Creates the smallest rectangle that contains the given rectangles.

Namespace: DigitalRune.Game.UI
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public static RectangleF Union(
	RectangleF rectangle1,
	RectangleF rectangle2
)

Parameters

rectangle1
Type: DigitalRune.Game.UIRectangleF
The first rectangle.
rectangle2
Type: DigitalRune.Game.UIRectangleF
The second rectangle.

Return Value

Type: RectangleF
The smallest rectangle that contains rectangle1 and rectangle2.
See Also