Spread.Sheets Documentation
Rect Constructor
GC.Spread.Sheets Namespace > Rect type : Rect Constructor
The x-coordinate of the top-left corner of the rectangle.
The y-coordinate of the top-left corner of the rectangle.
The width of the rectangle.
The height of the rectangle.
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( 
   x : number,
   y : number,
   w : number,
   h : number
) : Rect;

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.
See Also

Reference

Rect type