ILineItemDefaultConfig Interface

A structure containing default settings of lines.

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

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


Optional angle

angle: number

Optional color

color: string

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

Optional itemPermissions

itemPermissions: IItemPermissionsConfig

Optional linePermissions

linePermissions: ILinePermissionsConfig

A structure defining line permissions.

Optional manipulationPermissions

manipulationPermissions: IManipulationPermissionsConfig

Optional opacity

opacity: number

Optional point0

point0: IPointF

A default start point of lines.

Optional point1

point1: IPointF

A default end point of lines.

Optional textWrappingMode

textWrappingMode: WrappingModeType

Optional visualizationPermissions

visualizationPermissions: IVisualizationPermissionsConfig

Optional width

width: number

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