| RectangleFUnion Method |
Creates the smallest rectangle that contains the given rectangles.
Namespace: DigitalRune.Game.UIAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public static RectangleF Union(
RectangleF rectangle1,
RectangleF rectangle2
)
Public Shared Function Union (
rectangle1 As RectangleF,
rectangle2 As RectangleF
) As RectangleF
public:
static RectangleF Union(
RectangleF rectangle1,
RectangleF rectangle2
)
static member Union :
rectangle1 : RectangleF *
rectangle2 : RectangleF -> RectangleF
Parameters
- rectangle1
- Type: DigitalRune.Game.UIRectangleF
The first rectangle. - rectangle2
- Type: DigitalRune.Game.UIRectangleF
The second rectangle.
Return Value
Type:
RectangleF
The smallest rectangle that contains
rectangle1 and
rectangle2.
See Also