The <decorations> element defines one or more decoration components in a design. Each
decoration specifies a component such as a design, lettering, or team name
lettering. The decorations block is the top-level container for everything you want to stitch.
XML structure
Components
The <decorations> element contains one or more decoration components. Valid
components:
Component | Description |
| Adds a design file. |
| Adds standard lettering. |
| Adds a team name lettering element. |
Usage
A <decorations> XML is required as input for the following APIs:
- Must contain at least one decoration.
- The API processes decorations in the order they appear.
- The order of decorations determines the stitching sequence in the final design output.
- For api/newLetteringPreview, only a single <lettering> element is supported — no designs or team names allowed in that request.
Example
<decorations>
<design file="logo1.emb" />
<lettering>
</lettering>
<team_name_lettering>
<!-- Team
lettering parameters here -->
</team_name_lettering>
</decorations>
- EWA design recipe
- EWA API methods overview
- EWA data packages overview