DefaultConfig Module

The default configuration of design elements.

example
configuration = {
    defaultItemsConfig: {
        text: {
            font: {
                postScriptName: "Impact",
                size: 33,
                fauxBold: true,
                fauxItalic: true
            },
            color: "rgb(0,255,255)"
        },
        boundedText: {
            tracking: 27,
            leading: 125,
            verticalAlignment: "center",
            isVertical: true
        }
    }
};

Modules

Name Description
WrappingMode

Text wrapping modes. For examples, refer to the Text Wrapping topic.

Interfaces

Name Description
IBarcodeDefaultConfig DESCRIPTION
IBaseTextItemConfig DESCRIPTION
IBoundedTextItemConfig DESCRIPTION
IContentItemDefaultConfig DESCRIPTION
IEllipseItemDefaultConfig DESCRIPTION
IFontDefaultConfig DESCRIPTION
IGalleryDefaultConfig DESCRIPTION
IGalleryItemConfig DESCRIPTION
IImageItemDefaultConfig

A structure containing default settings of images.

IImagePermissionsConfig

A structure defining the image permissions.

IItemDefaultConfig

A structure containing general settings of design elements.

IItemPermissionsConfig DESCRIPTION
ILineItemDefaultConfig

A structure containing default settings of lines.

ILinePermissionsConfig DESCRIPTION
IManipulationPermissionsConfig

A structure defining the manipulation permissions.

IParagraphSettingsConfig DESCRIPTION
IPlaceholderItemDefaultConfig DESCRIPTION
IPlaceholderPermissionsConfig DESCRIPTION
IPlainTextItemConfig DESCRIPTION
IRectangleItemDefaultConfig DESCRIPTION
IShadowDefaultConfig DESCRIPTION
IShapeItemDefaultConfig DESCRIPTION
IShapePermissionsConfig DESCRIPTION
IStrokeDefaultConfig DESCRIPTION
ITextConfig DESCRIPTION
IVisualizationPermissionsConfig DESCRIPTION

Type aliases

VerticalAlignmentType

VerticalAlignmentType: "top" | "center" | "bottom"