Search
Rect.union Method
See Also
 






Returns a Rect object representing the union of the current rectangle with the specified rectangle.

Namespace: MindFusion.Drawing
File: Rect.js

 Syntax

JavaScript  Copy Code

function union (rect)

 Parameters

rect

Rect. The rectangle to union.

 Return Value

A Rect object that bounds the union of the two rectangles.

 See Also