ILineItemDefaultConfig Interface

A structure containing default parameters of lines.

You can apply these parameters to the line object through either clientConfig.json or IConfiguration.

lineItemConfig = {
    width: 7,
    color: "rgb(255,0,0)",
    point0: { x: 10, y: 10 },
    point1: { x: 100, y: 10 },
    manipulationPermissions: {
        allowMoveHorizontal: false


Optional angle

angle: number

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

Optional color

color: string

A default color of lines. By default, this value is "rgba(0,0,0,1)".

Optional itemPermissions

itemPermissions: IItemPermissionsConfig

A structure defining the Item Menu for design elements.

Optional linePermissions

linePermissions: ILinePermissionsConfig

A structure defining line permissions.

Optional manipulationPermissions

manipulationPermissions: IManipulationPermissionsConfig

A structure defining the manipulation permissions for design elements.

Optional opacity

opacity: number

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

Optional point0

point0: IPointF

A default start point of lines.

Optional point1

point1: IPointF

A default end point of lines.

Optional textWrappingMode

textWrappingMode: WrappingModeType

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

Optional visualizationPermissions

visualizationPermissions: IVisualizationPermissionsConfig

A structure defining the visualization permissions for design elements.

Optional width

width: number

A default width of lines, in points. By default, this value is 1.