Click or drag to resize

RectangleIntersect Method (Rectangle, Rectangle)

Intersect the two specified rectangles

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

Parameters

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

Return Value

Type: Rectangle
A new RectangleF with the intersection of the two rectangles
See Also