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
)
Public Shared Function Intersect (
rect1 As Rectangle,
rect2 As Rectangle
) As Rectangle
static member Intersect :
rect1 : Rectangle *
rect2 : Rectangle -> Rectangle
Parameters
- rect1
- Type: Eto.DrawingRectangle
First rectangle to intersect - rect2
- Type: Eto.DrawingRectangle
Second rectangle to intersect
Return Value
Type:
RectangleA new RectangleF with the intersection of the two rectangles
See Also