Back to Website
Show / Hide Table of Contents

Interface IRectangleItemDefaultConfig

A structure defining the default parameters of rectangles. You can apply these parameters to the rectangle object through either clientConfig.json or IConfiguration.

Package: IframeApi

Properties

angle

An angle, which design elements are rotated to. By default, this value is 0.

Declaration
angle?: number
Property Value
Type Description
number

blendMode

A blend mode that applies to design elements being added to the canvas.

Declaration
blendMode?: BlendMode
Property Value
Type Description
BlendMode

borderColor

The border color. The default value is "rgba(0,0,0,1)".

Declaration
borderColor?: string
Property Value
Type Description
string

borderWidth

The border width, in points. The default value is 1.

Declaration
borderWidth?: number
Property Value
Type Description
number

fillColor

The fill color for shapes and placeholders. The default value is "rgba(112,112,112,1)" for shapes and is "rgba(0,0,0,0)" for image placeholders.

Declaration
fillColor?: string
Property Value
Type Description
string

height

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.

Declaration
height?: string | number
Property Value
Type Description
string | number

isVariable

Marks a design element as a variable item. The default value is false.

Declaration
isVariable?: boolean
Property Value
Type Description
boolean

itemPermissions

A structure defining the Item Menu and the Floating item toolbar for design elements.

Declaration
itemPermissions?: IItemPermissionsConfig
Property Value
Type Description
IItemPermissionsConfig

location

The coordinates of design elements being added to the canvas. By default, you can add them to the center of your product.

Declaration
location?: ILocationDefaultConfig
Property Value
Type Description
ILocationDefaultConfig

manipulationPermissions

A structure defining the manipulation permissions for design elements.

Declaration
manipulationPermissions?: IManipulationPermissionsConfig
Property Value
Type Description
IManipulationPermissionsConfig

name

The name of design elements being added to the canvas.

Declaration
name?: string
Property Value
Type Description
string

opacity

An opacity that applies to design elements. This value can be from 0 to 1. By default, it is 1.

Declaration
opacity?: number
Property Value
Type Description
number

shapePermissions

Defines permissions for shapes.

Declaration
shapePermissions?: IShapePermissionsConfig
Property Value
Type Description
IShapePermissionsConfig

textWrappingMode

A wrapping mode that applies to wrap text around design elements. By default, it is "none".

Declaration
textWrappingMode?: WrappingMode.WrappingModeType
Property Value
Type Description
WrappingModeType

themeBinding

A style or a color that applies to new design elements.

Declaration
themeBinding?: IThemeBindingConfig
Property Value
Type Description
IThemeBindingConfig

visualizationPermissions

A structure defining the visualization permissions for design elements.

Declaration
visualizationPermissions?: IVisualizationPermissionsConfig
Property Value
Type Description
IVisualizationPermissionsConfig

width

The width of design elements being added to the canvas, in points or percent.

Declaration
width?: string | number
Property Value
Type Description
string | number
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...