Represents a design element decoration in the Creator SE resources. This class is a specialized implementation of the CreatorSE.DesignElement abstract class. It provides additional attributes for SKU and placement specific to design element decorations.
The DesignElementDecoration is used to describe customized decoration elements
within a design.
| Name | Type | Description | |
|---|---|---|---|
sku
|
string
|
SKU of the decoration (sticker or label) to apply to this element. Must match a sticker SKU configured on the product in the back-office. | |
placement
|
string
|
Additional placement identifier passed to the decoration renderer.
Use this when a single print area supports multiple named placements
(e.g. chest-left vs. full-front).
|
| Name | Type | Description | |
|---|---|---|---|
position
|
CreatorSE.Position | Position and size of this element within the product print area. Coordinates are expressed in millimetres or as a percentage of the area dimensions. | |
printTechnology
|
CreatorSE.PrintTechnology | The print technology applied to this element (e.g. DTG, screen print). References the print technology configured on the product area. | |
layers
|
array of CreatorSE.DesignElementLayer | Optional layer overrides for motives that contain named SVG layers.
Each entry targets one layer by name and can carry a new text value or rgbColor.
Omit or leave empty when the motive has no dynamic layers.
|
{
"creatorse_designElementDecoration" : {
"sku" : "STICKER-WOVEN-001",
"placement" : "chest-left",
"position" : {
"horizontalCenter" : "...",
"verticalCenter" : "...",
"left" : "10%",
"right" : "10%",
"top" : "10%",
"bottom" : "..."
},
"printTechnology" : {
"id" : 12345,
"name" : "DTG"
},
"layers" : {
"creatorse_designElementLayer" : [ {
"name" : "...",
"text" : "...",
"rgbColor" : "..."
}, {
"name" : "...",
"text" : "...",
"rgbColor" : "..."
} ]
}
}
}
Represents a design element decoration in the Creator SE resources. This class is a specialized implementation of the CreatorSE.DesignElement abstract class. It provides additional attributes for SKU and placement specific to design element decorations.
The DesignElementDecoration is used to describe customized decoration elements
within a design.
| Name | Type | Description | |
|---|---|---|---|
placement
|
string
|
Additional placement identifier passed to the decoration renderer.
Use this when a single print area supports multiple named placements
(e.g. chest-left vs. full-front).
|
|
sku
|
string
|
SKU of the decoration (sticker or label) to apply to this element. Must match a sticker SKU configured on the product in the back-office. |
| Name | Type | Description | |
|---|---|---|---|
creatorse_designElementLayer
|
list of CreatorSE.DesignElementLayer | Optional layer overrides for motives that contain named SVG layers.
Each entry targets one layer by name and can carry a new text value or rgbColor.
Omit or leave empty when the motive has no dynamic layers.
|
|
position
|
CreatorSE.Position | Position and size of this element within the product print area. Coordinates are expressed in millimetres or as a percentage of the area dimensions. | |
printTechnology
|
CreatorSE.PrintTechnology | The print technology applied to this element (e.g. DTG, screen print). References the print technology configured on the product area. |
<creatorse_designElementDecoration>
<sku>STICKER-WOVEN-001</sku>
<placement>chest-left</placement>
<position>
<horizontalCenter>...</horizontalCenter>
<verticalCenter>...</verticalCenter>
<left>10%</left>
<right>10%</right>
<top>10%</top>
<bottom>...</bottom>
</position>
<printTechnology>
<id>...</id>
<name>DTG</name>
</printTechnology>
<layers>
<creatorse_designElementLayer>
<name>...</name>
<text>...</text>
<rgbColor>...</rgbColor>
</creatorse_designElementLayer>
</layers>
</creatorse_designElementDecoration>