Customer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

IBasePrintAreaDefinition Interface

A structure representing basic print area features.

example
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

Optional bleed

bleed: IMarginLTRB

The bleed zone margins.

Optional containers

A collection of texture and spot color containers defined in the print area.

Optional cropMarks

cropMarks: ICropMark []

A collection of crop marks defined in the print area.

Optional hiResOutput

hiResOutput: IHiResOutput

Properties of the hi-res output defined in the print area.

Optional name

name: string

A name of a surface (a page) in the product.

Optional safetyLines

safetyLines: ISafetyLine []

A collection of safety lines defined in the print area.

Optional slug

The slug zone margins.