ICropMarkText Interface

A structure holding settings for page information on hi-res outputs.

example
product: {
    surfaces: [{
        mockup: {
            up: "envelope"
        },
        printAreas: [{
            designFile: "envelope",
            designLocation: { X: 4.1, Y: 4.1 },
            cropMarks: [{
                margin: 8.5,
                color: "rgba(255, 0, 0, 255)",
                widthPx: 0.5,
                length: 6,
                fontSize: 4,
                leftNotes: [{
                    text: "Page information"
                }]
            }] 
        }]
    }
]

Properties

Optional alignment

The page information alignment. The default value is "Left".

Optional edgeMargin

edgeMargin: number

The padding of the page information. This is the space between the bleed line and text. The default value is 0.3.

Optional fontSize

fontSize: number

The font size of the text. The default value is 3.

Optional markMargin

markMargin: number

The padding of the page information. This is the space between the bleed mark and text. The default value is 0.3.

text

text: string

The page information to be placed on the hi-res output.