Interface IBasePrintAreaDefinition
A structure representing basic print area features.
Package: @aurigma/design-editor-iframe
Examples
const productDefinition = {
surfaces: [{
printAreas: [{
designFile: "texture",
containers: [
{
name: "foil",
type: "texture",
texture: "texture.jpg"
},
{
name: "spot",
type: "spotColor",
previewColor: "rgba(255,255,0,1)"
}
],
bleed: {
top: 20, bottom: 20, left: 20, right: 20
},
slug: {
top: 20, bottom: 20, left: 20, right: 20
}
}]
}]
};
Properties
bleed
Margins of the bleed area.
Declaration
bleed?: IMargin;
Property Value
| Type | Description |
|---|---|
| IMargin | Margins of the bleed area. |
containers
A collection of texture and spot color containers defined in the print area.
Declaration
containers?: IChannelContainerDefinition[];
Property Value
| Type | Description |
|---|---|
| IChannelContainerDefinition[] | A collection of texture and spot color containers defined in the print area. |
Remarks
For backward compatibility only!
cropMarks
A collection of crop marks defined in the print area.
Declaration
cropMarks?: ICropMark[];
Property Value
| Type | Description |
|---|---|
| ICropMark[] | A collection of crop marks defined in the print area. |
hiResOutput
Properties of the hi-res output defined in the print area.
Declaration
hiResOutput?: IHiResOutput;
Property Value
| Type | Description |
|---|---|
| IHiResOutput | Properties of the hi-res output defined in the print area. |
safetyLines
A collection of safety lines defined in the print area.
Declaration
safetyLines?: ISafetyLine[];
Property Value
| Type | Description |
|---|---|
| ISafetyLine[] | A collection of safety lines defined in the print area. |
slug
Margins of the slug area. The editor expands the product boundaries to accommodate the slug area.
Declaration
slug?: IMargin;
Property Value
| Type | Description |
|---|---|
| IMargin | Margins of the slug area. The editor expands the product boundaries to accommodate the slug area. |