union

Creates a new Rect instance that encloses the two rectangles given as arguments.

Parameters

rectA kendo.geometry.Rect

The first rectangle.

rectB kendo.geometry.Rect

The second rectangle.

Returns

kendo.geometry.Rect The new Rect instance.

In this article