SpreadJS Documentation
Rect type
GC.Spread.Sheets Namespace : Rect type
Represents a rectangle with a special location, and its width and height in two-dimensional space.
Syntax
var instance = new GC.Spread.Sheets.Rect(x, y, w, h);
function Rect;
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Rect

Constructors
 NameDescription
public ConstructorRepresents a rectangle with a special location, and its width and height in two-dimensional space.  
Top
Fields
 NameDescription
public FieldThe width of the rectangle.  
public FieldThe height of the rectangle.  
public FieldThe x-coordinate of the top-left corner of the rectangle.  
public FieldThe y-coordinate of the top-left corner of the rectangle.  
Top
Methods
 NameDescription
public MethodIndicates whether the rectangle contains the specified x-coordinate and y-coordinate.  
public MethodGets the rectangle that intersects with the current rectangle.  
public MethodIndicates whether the specified rectangle intersects with the current rectangle.  
public MethodIndicates whether the specified rectangle intersects with the current rectangle.  
Top
See Also

Reference

GC.Spread.Sheets Namespace