IProductDefinition

A structure holding settings to create a product.

example
productDefinition = {
    surfaces: {
        // Get surfaces from the folder.
        designFolder: "myphotoBook"
    }
};

Properties

Optional defaultDesignLocation

defaultDesignLocation: IPointF

Default coordinates of a design, the upper-left corner relative to a mockup.

Optional defaultSafetyLines

defaultSafetyLines: ISafetyLine []

A collection of safety lines defined for every surface (page) in the product.

Optional name

name: string

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

surfaces

A collection of surfaces (pages) defined in the product.