A structure defining the text parameters.
You can apply these parameters to the text object through either clientConfig.json
or IConfiguration.
The text alignment.
An angle, which design elements are rotated to. By default, this value is 0
.
A blend mode that applies to design elements being added to the canvas.
The border color. The default value is "rgba(0,0,0,1)"
.
The border width, in points. The default value is 1
.
Limits the number of characters that the user can enter in the Rich text editor. By default, this number is not limited.
The text color. The default value is "rgba(0,0,0,1)"
.
The fill color. The default value is "rgba(0, 0, 0, 0)"
.
The font parameters.
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.
Allows you to scale text horizontally. The default value is 1
.
Marks a design element as a variable item. The default value is false
.
Enables the vertical orientation of bounded text. The default value is false
.
A structure defining the Item Menu and the Floating item toolbar for design elements.
The spacing between base lines, in points.
The coordinates 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 maximum number of lines which the user is allowed to enter into a specific point text or bounded text element. By default, this number is not limited.
The maximum length of text lines which the user is allowed to enter into a specific point text or bounded text element. By default, this number is not limited.
The name of design elements being added to the canvas.
An opacity that applies to design elements. This value can be from 0
to 1
. By default, it is 1
.
The copyfitting strategy applied to a bounded text element when it overflows. By default, this property is "clip"
.
The default parameters of paragraphs.
The shadow parameters.
Defines permissions for shapes.
The stroke parameters.
The default content for new text elements. It is an empty string for text with rich formatting and "Text"
for plain text.
Defines permissions for new text elements.
A mode defining how a bounded text element shrinks to its bounds when it overflows. By default, this property is "size"
.
A wrapping mode that applies to wrap text around design elements. By default, it is "none"
.
A style or a color that applies to new design elements.
The spacing between characters, in points. The default value is 0
.
Enables the underline. The default value is false
.
Defines how the vertical bounded text is aligned. The default value is "top"
.
Allows you to scale text vertically. The default value is 1
.
A structure defining the visualization permissions for design elements.
The width of design elements being added to the canvas, in points or percent.
The spacing between an item and wrapping text, in points. The default value is 7
.