textBox

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

Constructs a text box shape.

Parameters

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

Returns

A DrawShape with DrawShapeKind.TEXT_BOX.