Rect
The Rect type describes a rectangle by its top-left position (x, y) and its
width and height. It’s returned by helpers like
getNodesBounds.
Fields
| Name | Type | Default |
|---|---|---|
width | number | |
height | number | |
x | number | |
y | number |
The Rect type describes a rectangle by its top-left position (x, y) and its
width and height. It’s returned by helpers like
getNodesBounds.
| Name | Type | Default |
|---|---|---|
width | number | |
height | number | |
x | number | |
y | number |