ISurfaceTemplate

A structure used to create a surface from a PSD template.

example
CustomersCanvas.IframeApi.loadEditor(
    iframe,
    {
        surfaces: [{
            printAreas: [{
                designFile: "stamp"
            }],
            mockup: {
                down: {
                    mockupFile: "envelope"
                }
            }
        }]
    }
);

Properties

Optional foldingLines

foldingLines: IFoldingLine []

A collection of folding lines defined in the surface (page).

Optional mockup

A mockup set in the surface.

Optional name

name: string

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

Optional printAreas

printAreas: IPrintAreaTemplate []

A collection of print areas defined in the surface (page).

Optional proofImage

proofImage: IProofImage

Optional spines

spines: ISpine []

A collection of spines defined in the surface (page).