Skip to content

LayoutContentShape

Type: Object

Primitive geometric shape content object providing configurable fills, strokes, and custom path data.

Fields

NameTypeArgsDescriptionDeprecated
boundingBoxLayoutRectangle!Axis-aligned rectangle the content occupies inside the layout element.
colorProfileLayoutColorProfileOptional ICC profile overriding the layer or sheet-side profile.
cornerRadiusDecimalCorner radius used for rectangle-based shapes.
fillColorLayoutColorFill color applied to the shape interior.
fillGradientJsonStringGradient fill applied to the shape interior.
idID!
layerRefIds[String!]!Optional references to other layers this object interacts with.
lockedBoolean!When true, editors should prevent direct manipulation of this object.
metadataJsonString!Free-form metadata for integrations or editor state.
opacityInt!Opacity percentage applied uniformly to the object.
orderIntZ-order index within the parent layer; higher values render later.
pathCommands[JsonString!]!Optional custom path definition when shape_type is Custom.
printableBoolean!Controls whether the object is included in production output.
rotationInt!Clockwise rotation in degrees applied around the bounding box origin.
shapeTypeString!Shape type (Rectangle, Ellipse, Polygon, Star, etc.).
sidesIntNumber of sides when rendering polygonal shapes.
strokeJsonStringStroke style for the shape outline.
typeString!Discriminator indicating which content object variant this record represents.
visibleBoolean!Controls whether the object appears in previews.

Relationships

Connect. Combine. Collaborate.
The pioneering open integration platform, dedicated to transforming connectivity in the printing industry.