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.intersect(x, y, w, h);
function intersect(
: number,
: number,
: number,
: number
) : boolean;
Parameters
- x
- The x-coordinate of the top-left corner of the rectangle.
- y
- The y-coordinate of the top-left corner of the rectangle.
- w
- The width of the rectangle.
- h
- The height of the rectangle.
Return Value
true
if the specified rectangle intersects with the current rectangle; otherwise, false
.
See Also