RectangleFUnion Method (RectangleF, RectangleF) |
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 RectangleF Union(
RectangleF rect1,
RectangleF rect2
)
Public Shared Function Union (
rect1 As RectangleF,
rect2 As RectangleF
) As RectangleF
static member Union :
rect1 : RectangleF *
rect2 : RectangleF -> RectangleF
Parameters
- rect1
- Type: Eto.DrawingRectangleF
First rectangle to union - rect2
- Type: Eto.DrawingRectangleF
Second rectangle to union
Return Value
Type:
RectangleFA new RectangleF that encompasses both
rect1 and
rect2See Also