Interface IPrintAreaDefinition
A structure used for creating an empty print area.
Package: @aurigma/design-editor-iframe
Examples
// Defining the product.
let w = 720, h = 504; // in points (1 point = 1/72 inch)
let emptyProduct = {
surfaces: [{
width: w,
height: h,
printAreas: [{
bounds: {
x: 0, y: 0, width: w, height: h
},
safetyLines: [{
margin: 8.5,
color: 'rgba(0,255,0,1)',
stepPx: 5,
widthPx: 1
}]
}]
}]
};
Properties
bounds
The print area bounds.
Declaration
bounds: IRectangleF;
Property Value
| Type | Description |
|---|---|
| IRectangleF | The print area bounds. |