You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

SvgActionMode Module

Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation

SVG upload modes.

You can use this parameter when define the IAssetSourceConfig.

Type aliases

SvgActionModeType

SvgActionModeType: "Shape" | "Vector" | "Group" | "Clipart"

Variables

Const Clipart

In this mode, an SVG file opens as a combination of multicolor shapes and appears on the canvas as a shape element.

Const Group

In this mode, an SVG file opens as a set of SVG paths and appears on the canvas as a group element.

Const Shape

In this mode, an SVG file opens as a combination of shapes in one color and width and appears on the canvas as a shape element. This mode eliminates raster images. To check if losses occur, you can use the shapeViolationsEnabled warning.

Const Vector

In this mode, an SVG file opens as a vector image and appears on the canvas as an image element.