Meet us at SGIA Expo. Las Vegas, NV. Oct. 18—19.

IBasePrintAreaDefinition Interface

A structure representing basic print area features.

example
productDefinition = {
    surfaces: [{
        printAreas: [{
            safetyLines: [{
                margin: 9,
                color: "rgba(0,0,255,255)",
                altColor: "rgba(255,255,255,0)"
            }],
            designFile: "texture",
            containers: [
                {
                    name: "foil",
                    texture: "texture.png",
                    type: "texture"
                },
                {
                    name: "spot",
                    previewColor: "rgba(255,255,0,255)",
                    type: "spotColor"
                }]
        }]
    }]
};

Properties

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.