Interface ICropMark
A structure holding settings for a crop mark.
Package: @aurigma/design-editor-iframe
Remarks
For details, see the Cropping marks topic.
Examples
const product = {
surfaces: [{
printAreas: [{
designFile: "envelope",
designLocation: { X: 4.1, Y: 4.1 },
cropMarks: [{
margin: 8.5,
color: "cmyk(0, 1, 1, 0, 1)",
widthPx: 1,
length: 6,
fontSize: 4,
leftNotes: [{
text: "Page information"
}]
}]
}]
}]
};
Properties
color
The color of crop marks, in the CSS color format. The default value is black, "rgba(0,0,0,1)".
Declaration
color?: string;
Property Value
| Type | Description |
|---|---|
| string | The color of crop marks, in the CSS color format. The default value is black, |
length
The length of the crop mark, in points. The default value is 8.
Declaration
length?: number | IMarginHV;
Property Value
| Type | Description |
|---|---|
| number | IMarginHV | The length of the crop mark, in points. The default value is |
margin
The distance between a crop mark and the surface bounds, in points. The default value is 10.
Declaration
margin?: number | IMarginHV;
Property Value
| Type | Description |
|---|---|
| number | IMarginHV | The distance between a crop mark and the surface bounds, in points. The default value is |
name
The name of the crop mark.
Declaration
name?: string;
Property Value
| Type | Description |
|---|---|
| string | The name of the crop mark. |
texts
The page information.
Declaration
texts?: ICropMarkText[];
Property Value
| Type | Description |
|---|---|
| ICropMarkText[] | The page information. |
widthPx
The line width, in pixels. The default value is 1.
Declaration
widthPx?: number;
Property Value
| Type | Description |
|---|---|
| number | The line width, in pixels. The default value is |