Interface: ICropMark
A structure holding settings for a crop mark.
Remarks
For details, see the Cropping marks topic.
Example
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
name?
optionalname?:string
The name of the crop mark.
margin?
optionalmargin?:number|IMarginHV
The distance between a crop mark and the surface bounds, in points. The default value is 10.
color?
optionalcolor?:string
The color of crop marks, in the CSS color format. The default value is black, "rgba(0,0,0,1)".
widthPx?
optionalwidthPx?:number
The line width, in pixels. The default value is 1.
length?
optionallength?:number|IMarginHV
The length of the crop mark, in points. The default value is 8.
texts?
optionaltexts?:ICropMarkText[]
The page information.