RectangleUnion Method (Rectangle, Rectangle) |
Combines two rectangles into one rectangle that encompasses both
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Rectangle Union(
Rectangle rect1,
Rectangle rect2
)
Public Shared Function Union (
rect1 As Rectangle,
rect2 As Rectangle
) As Rectangle
static member Union :
rect1 : Rectangle *
rect2 : Rectangle -> Rectangle
Parameters
- rect1
- Type: Eto.DrawingRectangle
First rectangle to union - rect2
- Type: Eto.DrawingRectangle
Second rectangle to union
Return Value
Type:
RectangleA new Rectangle that encompasses both
rect1 and
rect2See Also