MindFusion.Charting for JavaScript Programmer's Guide
DrawingUtils.unionRects Method
See Also
 






Returns the smallest possible rectangle containing both of the specified rectangles.

Namespace: MindFusion.Drawing
File: DrawingUtils.js

 Syntax

JavaScript  Copy Code

function unionRects (rect1, rect2)

 Parameters

rect1

Type: Rect
Rect. The first rectangle.

rect2

Type: Rect
Rect. The second rectangle.

 Return Value

Type: Rect
Rect. A Rect instance that represents the union of the specified arguments.

 See Also

DrawingUtils Members
DrawingUtils Class
MindFusion.Drawing Namespace