Click or drag to resize

RectangleFIntersect Method (RectangleF, RectangleF)

Intersect the two specified rectangles

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

Parameters

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

Return Value

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