caption

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

Constructs a caption 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.CAPTION.