A structure defining the default parameters of barcodes.
The following example illustrates how you can enable two buttons in the Toolbox: the first one opens the standard QrCode dialog box, while the second custom button adds a predefined QR code to the canvas.
Allows adding images to the canvas as placeholders. The default value is false
.
An angle, which design elements are rotated to. By default, this value is 0
.
The content of barcodes.
Defines permissions for barcodes.
The border color. The default value is "rgba(0,0,0,255)"
.
The border width, in points. The default value is 1
.
The fill color. The default value is "rgba(0, 0, 0, 0)"
.
The height of design elements being added to the canvas, in points or percent. For QR codes, the width value is used for both width and height.
Defines permissions for images being added to the canvas.
A link to the default image.
Marks a design element as a variable item. The default value is false
.
A structure defining the Item Menu and the Floating item toolbar for design elements.
The location of design elements being added to the canvas. By default, you can add them to the center of your product.
A structure defining the manipulation permissions for design elements.
The mask opacity of an item. The default value is 0.45
.
The name of design elements being added to the canvas.
An opacity applied to design elements. This value can be from 0
to 1
. By default, it is 1
.
Defines an overlay color for images being added to the canvas.
Defines permissions for shapes.
A wrapping mode applied to wrap text around design elements. By default, it is "none"
.
A structure defining the visualization permissions for design elements.
The width of design elements being added to the canvas, in points or percent.