GcSpread.Sheets Namespace : Rect type |
var instance = new GcSpread.Sheets.Rect(x, y, w, h);
function Rect;
Object
GcSpread.Sheets.Rect
Name | Description | |
---|---|---|
Rect Constructor | Represents a rectangle with a special location, and its width and height in two-dimensional space. |
Name | Description | |
---|---|---|
height | The width of the rectangle. | |
width | The height of the rectangle. | |
x | The x-coordinate of the top-left corner of the rectangle. | |
y | The y-coordinate of the top-left corner of the rectangle. |
Name | Description | |
---|---|---|
contains | Indicates whether the rectangle contains the specified x-coordinate and y-coordinate. | |
empty | Creates an empty rectangle with the location (0,0) and both width and height set to 0. | |
getIntersectRect | Gets the rectangle that intersects with the current rectangle. | |
intersect | Indicates whether the specified rectangle intersects with the current rectangle. | |
intersectRect | Indicates whether the specified rectangle intersects with the current rectangle. |