Click or drag to resize
DigitalRuneRectangleFIntersect Method
Creates a rectangle that contains the overlap between 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 Intersect(
	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 overlap between rectangle1 and rectangle2.
See Also