CmdUiDocumentGetLayoutRects
Returns the final layout rectangles per node in a document.
Arguments
| Field | Type | Description |
|---|---|---|
| documentId | u32 | Logical UI document ID |
Response
Returns CmdResultUiDocumentGetLayoutRects:
| Field | Type | Description |
|---|---|---|
| success | bool | Query succeeded |
| message | String | Status or error |
| documentId | Option |
Queried document |
| version | Option |
Current document version |
| rects | UiNodeLayoutRect[] | Rectangles per node |
UiNodeLayoutRect:
nodeIdrect(Vec4: x, y, w, h)
Documentation Vulfram Core