Returns the smallest possible rectangle containing both of the specified rectangles.
Namespace: MindFusion.Drawing
File: DrawingUtils.js
JavaScript Copy Code |
---|
function unionRects (rect1, rect2) |
Type: Rect
Rect. The first rectangle.
Type: Rect
Rect. The second rectangle.
Type: Rect
Rect. A Rect instance that represents the union of the specified arguments.