LayoutRect
Computed layout rectangle for a node (returned by useLayout).
x, y, width, height are the outer bounds (including border).
innerX, innerY, innerWidth, innerHeight are the content bounds
(after border and padding).
Properties
Section titled “Properties”| Property | Type |
|---|---|
height | number |
innerHeight | number |
innerWidth | number |
innerX | number |
innerY | number |
width | number |
x | number |
y | number |