Open dastanaron opened 1 year ago
There is absoluteRenderBounds in the Figma answer API for elements extends FrameBase and VectorBase
{ "id": "52:309", "name": "listText", "type": "TEXT", "scrollBehavior": "SCROLLS", "blendMode": "PASS_THROUGH", "absoluteBoundingBox": { "x": -104.83568572998047, "y": 330.29559326171875, "width": 158.5352325439453, "height": 18.87322998046875 }, "absoluteRenderBounds": { "x": -104.0505599975586, "y": 332.3878479003906, "width": 121.72467803955078, "height": 14.819244384765625 }, "constraints": { "vertical": "TOP", "horizontal": "LEFT" }, "layoutVersion": 3, "/* --- */" }
Sorry I found this PR https://github.com/jemgold/figma-js/pull/62. Merge please it is right
There is absoluteRenderBounds in the Figma answer API for elements extends FrameBase and VectorBase