customShape

fnDrawShape customShape(string x, string y, string width, string height, string styleName = "")

Constructs a custom shape.

Parameters

xThe SVG x position.
yThe SVG y position.
widthThe SVG width.
heightThe SVG height.
styleNameOptional draw:style-name.

Returns

A DrawShape with DrawShapeKind.CUSTOM.