GC.Spread.Sheets Namespace : Rect type |
var instance = new GC.Spread.Sheets.Rect(x, y, w, h);
function Rect;
Object
GC.Spread.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. |
![]() | 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. |