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?
optionalenabled?: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?
optionalflip?:object
Settings of the background flip for products with folding lines.
enabled?
optionalenabled?:boolean
Allows you to flip backgrounds in the folding mode. The default value is false.
order?
optionalorder?:"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".