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