Skip to main content

Interface: IBgFoldingModeParams

A structure holding parameters of the folding mode of backgrounds.

Example

const product = {
surfaces: [
{
foldingLines: [{ pen: { color: "white" } }],
bgFoldingMode: {
enabled: true,
flip: {
enabled: true,
order: "Odd",
},
},
printAreas: `[{ designFile: "leaflet" }]`,
},
],
};

Properties

enabled?

optional enabled?: boolean

Enables the folding mode for backgrounds. If true, Design Editor replicates a background image in design areas separated by folding lines. The default value is false.


flip?

optional flip?: object

Settings of the background flip for products with folding lines.

enabled?

optional enabled?: boolean

Allows you to flip backgrounds in the folding mode. The default value is false.

order?

optional order?: "Even" | "Odd"

The flip order for backgrounds in the folding mode. The "Even" order adds the original image to the background first and then the flipped image. The "Odd" order places the flipped image first. The default value is "Even".

Was this page helpful?