<design file="logo1.emb" // name of the emb file colorwaytype="specified" // colorway type:current, all or specified colorway="White"> // name of the colorway <transform... /> <lettering_objects... /> // opt change lettering objects in a design <monogram_objects... /> // opt change monogram objects in a design </design>
The design decoration is specified by a named design file, an optional design colorwaytype, colorway, and a transform.
Additionally, if the design contains existing lettering objects and monogram objects, they can be modified using lettering_objects and monogram_objects by calling editDesign/editDesignTrueview. The newDesign/newDesignTrueview will ignore lettering_objects and monogram_objects element.
The file itself must be supplied in the list of files.
The colorwaytype parameter specified what kinds of colorway image will be returned. It can be one of following 3 values:
- “current”: Default value. Only return the TrueView of current colorway.
- “all”: Returns all trueviews for each colorway. Will be ignored in newDesignTrueview for now.
- “specified”: The colorway parameter only works in this type. Only the TrueView of the colorway named by colorway is returned. When the colorway doesn’t exists, newDesignTrueview will use current colorway and designTrueview will return error.