SpreadJS Documentation
getIntersectRect Method
GC.Spread.Sheets Namespace > Rect type : getIntersectRect Method
The rectangle.
Gets the rectangle that intersects with the current rectangle.
Syntax
var instance = new GC.Spread.Sheets.Rect(x, y, w, h);
var value; // Type: Rect
value = instance.getIntersectRect(rect);
function getIntersectRect( 
   rect : Rect
) : Rect;

Parameters

rect
The rectangle.

Return Value

The intersecting rectangle. If the two rectangles do not intersect, returns null.
See Also

Reference

Rect type