SpreadJS Documentation
contains Method
The x-coordinate of the point to check.
The y-coordinate of the point to check.
Indicates whether the rectangle contains the specified x-coordinate and y-coordinate.
Syntax
var instance = new GcSpread.Sheets.Rect(x, y, w, h);
var value; // Type: boolean
value = instance.contains(x, y);
function contains( 
   x : number,
   y : number
) : boolean;

Parameters

x
The x-coordinate of the point to check.
y
The y-coordinate of the point to check.

Return Value

true if (x, y) is contained by the rectangle; otherwise, false.
See Also

Reference

Rect type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.