unionRects Method

Summary

Gets a LeadRectD that contains the union of two rectangles.

Syntax

JavaScript Syntax
unionRects = function(rect1, rect2) 
TypeScript Syntax
static unionRects(rect1: LeadRectD, rect2: LeadRectD): LeadRectD; 

Parameters

rect1

First rectangle.

rect2

Second rectangle.

Return Value

A third LeadRectD the size of which represents the union of the area of the two specified rectangles.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly