MindFusion.Charting for JavaScript Programmer's Guide
Rect.union Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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

  Type: Rect
  Rect. The rectangle to union.

### Return Value

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

## See Also

Rect Members
Rect Class
MindFusion.Drawing Namespace