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

Object
   GcSpread.Sheets.Rect

Constructors
 NameDescription
public ConstructorRect ConstructorRepresents a rectangle with a special location, and its width and height in two-dimensional space.  
Top
Fields
 NameDescription
public FieldheightThe width of the rectangle.  
public FieldwidthThe height of the rectangle.  
public FieldxThe x-coordinate of the top-left corner of the rectangle.  
public FieldyThe y-coordinate of the top-left corner of the rectangle.  
Top
Methods
 NameDescription
public MethodcontainsIndicates whether the rectangle contains the specified x-coordinate and y-coordinate.  
public Methodstatic (Shared in Visual Basic)emptyCreates an empty rectangle with the location (0,0) and both width and height set to 0.  
public MethodgetIntersectRectGets the rectangle that intersects with the current rectangle.  
public MethodintersectIndicates whether the specified rectangle intersects with the current rectangle.  
public MethodintersectRectIndicates whether the specified rectangle intersects with the current rectangle.  
Top
See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.