Interface IPrintAreaTemplate
A structure creating a print area based on a PSD/IDML template.
Package: @aurigma/design-editor-iframe
Examples
const productDefinition = {
surfaces: [{
printAreas: [{
designFile: "stamp",
safetyLines: [{
margin: 5,
color: "rgba(0,0,255,1)",
altColor: "rgba(255,255,255,0)"
}]
}]
}]
);
Properties
designFile
The name of either PSD or IDML file, without extension.
Declaration
designFile: string;
Property Value
| Type | Description |
|---|---|
| string | The name of either PSD or IDML file, without extension. |
designLocation
Coordinates of the upper-left corner of the design relative to the mockup.
Declaration
designLocation?: IPointF;
Property Value
| Type | Description |
|---|---|
| IPointF | Coordinates of the upper-left corner of the design relative to the mockup. |