Wiki
Clone wikiRogueSharp / RogueSharp / Rectangle / Union_1
RectangleUnion Method (Rectangle, Rectangle, Rectangle)
Creates a new Rectangle that exactly contains the specified two Rectangles
Namespace: RogueSharp
Assembly:
Syntax
public static void Union( ref Rectangle value1, ref Rectangle value2, out Rectangle result )
Parameters
value1
Type: RogueSharpRectangle
The first Rectangle to contain
value2
Type: RogueSharpRectangle
The second Rectangle to contain
result
Type: RogueSharpRectangle
A new Rectangle that exactly contains the specified two Rectangles
Exceptions
Exception | Condition |
---|---|
NullReferenceException | Thrown if either rectangle is null |
See Also
Reference
Rectangle Class
RogueSharp Namespace
[3]: 2014-2016 Faron Bracy
Updated