Solved
In API response, render bound > bounding box but no difference is seen in Figma
In API response snippet to this Figma Design (https://www.figma.com/file/MruzGhJeyldwnG3HgxtUXk/SimpleTestFile?type=design&node-id=247%3A10&mode=design&t=L15KhW3qjdCHUB9L-1 ) below, the render bounds are larger than the bounding box but there is no visible indication of this in the Figma design editor. Why does the API give this response and what other situations is this behaviour seen?
{
"id": "247:25",
"name": "White Towels",
"type": "TEXT",
"scrollBehavior": "SCROLLS",
"blendMode": "PASS_THROUGH",
"absoluteBoundingBox": {
"x": -378.0,
"y": -125.0,
"width": 367.0,
"height": 41.0
},
"absoluteRenderBounds": {
"x": -377.4531250,
"y": -119.0,
"width": 188.81250,
"height": 24.31250
},
"constraints": {
"vertical": "TOP",
"horizontal": "LEFT"
},
"fills": [
{
"blendMode": "NORMAL",
"type": "SOLID",
"color": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 1.0
}
}
],
"strokes": [],
"strokeWeight": 1.0,
"strokeAlign": "OUTSIDE",
"effects": [],
"characters": "White Towels",
"style": {
"fontFamily": "Roboto",
"fontPostScriptName": "RobotoRoman-Bold",
"fontWeight": 700,
"fontSize": 32.0,
"textAlignHorizontal": "LEFT",
"textAlignVertical": "TOP",
"letterSpacing": 0.0,
"lineHeightPx": 37.50,
"lineHeightPercent": 100.0,
"lineHeightUnit": "INTRINSIC_%"
},
"layoutVersion": 4,
"characterStyleOverrides": [],
"styleOverrideTable": {},
"lineTypes": [
"NONE"
],
"lineIndentations": [
0
]
}
