LayoutContentShape
Type: Object
Primitive geometric shape content object providing configurable fills, strokes, and custom path data.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| boundingBox | LayoutRectangle! | Axis-aligned rectangle the content occupies inside the layout element. | ||
| colorProfile | LayoutColorProfile | Optional ICC profile overriding the layer or sheet-side profile. | ||
| cornerRadius | Decimal | Corner radius used for rectangle-based shapes. | ||
| fillColor | LayoutColor | Fill color applied to the shape interior. | ||
| fillGradient | JsonString | Gradient fill applied to the shape interior. | ||
| id | ID! | |||
| layerRefIds | [String!]! | Optional references to other layers this object interacts with. | ||
| 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. | ||
| pathCommands | [JsonString!]! | Optional custom path definition when shape_type is Custom. | ||
| printable | Boolean! | Controls whether the object is included in production output. | ||
| rotation | Int! | Clockwise rotation in degrees applied around the bounding box origin. | ||
| shapeType | String! | Shape type (Rectangle, Ellipse, Polygon, Star, etc.). | ||
| sides | Int | Number of sides when rendering polygonal shapes. | ||
| stroke | JsonString | Stroke style for the shape outline. | ||
| type | String! | Discriminator indicating which content object variant this record represents. | ||
| visible | Boolean! | Controls whether the object appears in previews. |