LayoutContentText
Type: Object
Rich text content object supporting typography controls and variable data bindings within a layout layer.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| alignment | String | Text alignment (Left, Center, Right, Justify). | ||
| boundingBox | LayoutRectangle! | Axis-aligned rectangle the content occupies inside the layout element. | ||
| color | LayoutColor | Fill color used when rendering the text. | ||
| colorProfile | LayoutColorProfile | Optional ICC profile overriding the layer or sheet-side profile. | ||
| content | String | Rich text payload rendered when no variable binding is provided. | ||
| fontFamily | String | Primary font family name. | ||
| fontSize | Decimal | Font size expressed in layout units. | ||
| fontStyle | String | Font style (Normal, Italic, Oblique). | ||
| fontWeight | String | Font weight descriptor (Normal, Bold, 700, etc.). | ||
| id | ID! | |||
| layerRefIds | [String!]! | Optional references to other layers this object interacts with. | ||
| letterSpacing | Decimal | Additional spacing between characters. | ||
| lineHeight | Decimal | Line-height multiplier or absolute size. | ||
| linkedContentRef | String | External reference providing localized or CMS-managed copy. | ||
| locked | Boolean! | When true, editors should prevent direct manipulation of this object. | ||
| metadata | JsonString! | Free-form metadata for integrations or editor state. | ||
| opacity | Int! | Opacity percentage applied uniformly to the object. | ||
| order | Int | Z-order index within the parent layer; higher values render later. | ||
| overflow | String | Overflow handling (Clip, Ellipsis, Scale). | ||
| paragraphSpacing | Decimal | Spacing added after each paragraph. | ||
| printable | Boolean! | Controls whether the object is included in production output. | ||
| rotation | Int! | Clockwise rotation in degrees applied around the bounding box origin. | ||
| stroke | JsonString | Optional outline applied around glyphs. | ||
| type | String! | Discriminator indicating which content object variant this record represents. | ||
| variableFieldRef | String | ID of the variable field supplying dynamic text. | ||
| visible | Boolean! | Controls whether the object appears in previews. |