SpreadJS 14
GC.Spread.Sheets Namespace / Rect type / intersectRect Method
The specified rectangle.
In This Topic
    intersectRect Method
    In This Topic
    Indicates whether the specified rectangle intersects with the current rectangle.
    Syntax
    var instance = new GC.Spread.Sheets.Rect(x, y, w, h);
    var value; // Type: boolean
    value = instance.intersectRect(rect);
    function intersectRect( 
       rect : Rect
    ) : boolean;

    Parameters

    rect
    The specified rectangle.

    Return Value

    true if the specified rectangle intersects with the current rectangle; otherwise, false.
    See Also

    Reference

    Rect type