path

fnDrawShape path(string pathData, string viewBox, string styleName = "")

Constructs a path shape using SVG path data.

Parameters

pathDataSVG path d attribute (e.g. "M 0 0 L 100 100").
viewBoxSVG viewBox.
styleNameOptional draw:style-name.

Returns

A DrawShape with DrawShapeKind.PATH.