<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxText"></a>mxText</h1><divclass=CBody><p>Extends <ahref="mxShape-js.html#mxShape"class=LClassid=link33onMouseOver="ShowTip(event, 'tt1', 'link33')"onMouseOut="HideTip('tt1')">mxShape</a> to implement a text shape. To change vertical text from bottom to top to top to bottom, the following code can be used:</p><blockquote><preclass="prettyprint">mxText.prototype.verticalTextRotation = 90;</pre></blockquote><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxText">mxText</a></td><tdclass=SDescription>Extends <ahref="mxShape-js.html#mxShape"class=LClassid=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">mxShape</a> to implement a text shape. </td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxText.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxText.mxText"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">mxText</a></td><tdclass=SDescription>Constructs a new text shape.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxText.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxText.baseSpacingTop"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">baseSpacingTop</a></td><tdclass=SDescription>Specifies the spacing to be added to the top spacing. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxText.baseSpacingBottom"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">baseSpacingBottom</a></td><tdclass=SDescription>Specifies the spacing to be added to the bottom spacing. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxText.baseSpacingLeft"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">baseSpacingLeft</a></td><tdclass=SDescription>Specifies the spacing to be added to the left spacing. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxText.baseSpacingRight"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">baseSpacingRight</a></td><tdclass=SDescription>Specifies the spacing to be added to the right spacing. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxText.replaceLinefeeds"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">replaceLinefeeds</a></td><tdclass=SDescription>Specifies if linefeeds in HTML labels should be replaced with BR tags. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxText.verticalTextRotation"id=link8onMouseOver="ShowTip(event, 'tt8', 'link8')"onMouseOut="HideTip('tt8')">verticalTextRotation</a></td><tdclass=SDescription>Rotation for vertical text. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxText.ignoreClippedStringSize"id=link9onMouseOver="ShowTip(event, 'tt9', 'link9')"onMouseOut="HideTip('tt9')">ignoreClippedStringSize</a></td><tdclass=SDescription>Specifies if the actual string size should be measured if a label is clipped. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxText.ignoreStringSize"id=link10onMouseOver="ShowTip(event, 'tt10', 'link10')"onMouseOut="HideTip('tt10')">ignoreStringSize</a></td><tdclass=SDescription>Specifies if the actual string size should be measured. </td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxText.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxText.isParseVml"id=link11onMouseOver="ShowTip(event, 'tt11', 'link11')"onMouseOut="HideTip('tt11')">isParseVml</a></td><tdclass=SDescription>Text shapes do not contain VML ma
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.mxText"></a>mxText</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function mxText(</td><tdclass=PParameternowrap>value,</td></tr><tr><td></td><tdclass=PParameternowrap>bounds,</td></tr><tr><td></td><tdclass=PParameternowrap>align,</td></tr><tr><td></td><tdclass=PParameternowrap>valign,</td></tr><tr><td></td><tdclass=PParameternowrap>color,</td></tr><tr><td></td><tdclass=PParameternowrap>family,</td></tr><tr><td></td><tdclass=PParameternowrap>size,</td></tr><tr><td></td><tdclass=PParameternowrap>fontStyle,</td></tr><tr><td></td><tdclass=PParameternowrap>spacing,</td></tr><tr><td></td><tdclass=PParameternowrap>spacingTop,</td></tr><tr><td></td><tdclass=PParameternowrap>spacingRight,</td></tr><tr><td></td><tdclass=PParameternowrap>spacingBottom,</td></tr><tr><td></td><tdclass=PParameternowrap>spacingLeft,</td></tr><tr><td></td><tdclass=PParameternowrap>horizontal,</td></tr><tr><td></td><tdclass=PParameternowrap>background,</td></tr><tr><td></td><tdclass=PParameternowrap>border,</td></tr><tr><td></td><tdclass=PParameternowrap>wrap,</td></tr><tr><td></td><tdclass=PParameternowrap>clipped,</td></tr><tr><td></td><tdclass=PParameternowrap>overflow,</td></tr><tr><td></td><tdclass=PParameternowrap>labelPadding</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new text shape.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>value</td><tdclass=CDLDescription>String that represents the text to be displayed. This is stored in <value>.</td></tr><tr><tdclass=CDLEntry>bounds</td><tdclass=CDLDescription><ahref="../util/mxRectangle-js.html#mxRectangle"class=LClassid=link34onMouseOver="ShowTip(event, 'tt31', 'link34')"onMouseOut="HideTip('tt31')">mxRectangle</a> that defines the bounds. This is stored in <ahref="mxShape-js.html#mxShape.bounds"class=LVariableid=link35onMouseOver="ShowTip(event, 'tt32', 'link35')"onMouseOut="HideTip('tt32')">mxShape.bounds</a>.</td></tr><tr><tdclass=CDLEntry>align</td><tdclass=CDLDescription>Specifies the horizontal alignment. Default is ‘’. This is stored in <align>.</td></tr><tr><tdclass=CDLEntry>valign</td><tdclass=CDLDescription>Specifies the vertical alignment. Default is ‘’. This is stored in <valign>.</td></tr><tr><tdclass=CDLEntry>color</td><tdclass=CDLDescription>String that specifies the text color. Default is ‘black’. This is stored in <color>.</td></tr><tr><tdclass=CDLEntry>family</td><tdclass=CDLDescription>String that specifies the font family. Default is <ahref="../util/mxConstants-js.html#mxConstants.DEFAULT_FONTFAMILY"class=LVariableid=link36onMouseOver="ShowTip(event, 'tt33', 'link36')"onMouseOut="HideTip('tt33')">mxConstants.DEFAULT_FONTFAMILY</a>. This is stored in <family>.</td></tr><tr><tdclass=CDLEntry>size</td><tdclass=CDLDescription>Integer that specifies the font size. Default is <ahref="../util/mxConstants-js.html#mxConstants.DEFAULT_FONTSIZE"class=LVariableid=link37onMouseOver="ShowTip(event, 'tt34', 'link37')"onMouseOut="HideTip('tt34')">mxConstants.DEFAULT_FONTSIZE</a>. This is stored in <size>.</td></tr><tr><tdclass=CDLEntry>fontStyle</td><tdclass=CDLDescription>Specifies the font style. Default is 0. This is stored in <fontStyle>.</td></tr><tr><tdclass=CDLEntry>spacing</td><tdclass=CDLDescription>Integer that specifies the global spacing. Default is 2. This is stored in <spacing>.</td></tr><tr><tdclass=CDLEntry>spacingTop</td><tdclass=CDLDescription>Integer that specifies the top spacing. Default is 0. The sum of the spacing and this is stored in <spacingTop
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxText.baseSpacingTop"></a>baseSpacingTop</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.baseSpacingTop</td></tr></table></blockquote><p>Specifies the spacing to be added to the top spacing. Default is 0. Use the value 5 here to get the same label positions as in mxGraph 1.x.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxText.baseSpacingBottom"></a>baseSpacingBottom</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.baseSpacingBottom</td></tr></table></blockquote><p>Specifies the spacing to be added to the bottom spacing. Default is 0. Use the value 1 here to get the same label positions as in mxGraph 1.x.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxText.baseSpacingLeft"></a>baseSpacingLeft</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.baseSpacingLeft</td></tr></table></blockquote><p>Specifies the spacing to be added to the left spacing. Default is 0.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxText.baseSpacingRight"></a>baseSpacingRight</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.baseSpacingRight</td></tr></table></blockquote><p>Specifies the spacing to be added to the right spacing. Default is 0.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxText.replaceLinefeeds"></a>replaceLinefeeds</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.replaceLinefeeds</td></tr></table></blockquote><p>Specifies if linefeeds in HTML labels should be replaced with BR tags. Default is true.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxText.verticalTextRotation"></a>verticalTextRotation</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.verticalTextRotation</td></tr></table></blockquote><p>Rotation for vertical text. Default is -90 (bottom to top).</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxText.ignoreClippedStringSize"></a>ignoreClippedStringSize</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.ignoreClippedStringSize</td></tr></table></blockquote><p>Specifies if the actual string size should be measured if a label is clipped. If disabled the boundingBox will not ignore the actual size of the string, otherwise <bounds> will be used instead. Default is true. <ahref="#mxText.ignoreStringSize"class=LVariableid=link38onMouseOver="ShowTip(event, 'tt10', 'link38')"onMouseOut="HideTip('tt10')">ignoreStringSize</a> has precedence over this switch.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxText.ignoreStringSize"></a>ignoreStringSize</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.ignoreStringSize</td></tr></table></blockquote><p>Specifies if the actual string size should be measured. If disabled the boundingBox will not ignore the actual size of the string, otherwise <bounds> will be used instead. Default is false.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.isParseVml"></a>isParseVml</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.isParseVml = function()</td></tr></table></blockquote><p>Text shapes do not contain VML markup and do not need to be parsed. This method returns false to speed up rendering in IE8.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.isHtmlAllowed"></a>isHtmlAllowed</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.isHtmlAllowed = function()</td></tr></table></blockquote><p>Returns true if HTML is allowed for this shape. This implementation returns true if the browser is not in IE8 standards mode.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.checkBounds"></a>checkBounds</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.checkBounds = function()</td></tr></table></blockquote><p>Returns true if the bounds are not null and all of its variables are numeric.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.apply"></a>apply</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxText.prototype.apply = function(</td><tdclass=PParameternowrap>state</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Extends mxShape to updat the text styles.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>state</td><tdclass=CDLDescription><ahref="../view/mxCellState-js.html#mxCellState"class=LClassid=link39onMouseOver="ShowTip(event, 'tt35', 'link39')"onMouseOut="HideTip('tt35')">mxCellState</a> of the corresponding cell.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.updateBoundingBox"></a>updateBoundingBox</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.updateBoundingBox = function()</td></tr></table></blockquote><p>Updates the <boundingBox> for this shape using the given node and position.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.getShapeRotation"></a>getShapeRotation</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.getShapeRotation = function()</td></tr></table></blockquote><p>Returns 0 to avoid using rotation in the canvas via updateTransform.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.getTextRotation"></a>getTextRotation</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.getTextRotation = function()</td></tr></table></blockquote><p>Returns the rotation for the text label of the corresponding shape.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.isPaintBoundsInverted"></a>isPaintBoundsInverted</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.isPaintBoundsInverted = function()</td></tr></table></blockquote><p>Inverts the bounds if <mxShape.isBoundsInverted> returns true or if the horizontal style is false.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.configureCanvas"></a>configureCanvas</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxText.prototype.configureCanvas = function(</td><tdclass=PParameternowrap>c,</td></tr><tr><td></td><tdclass=PParameternowrap>x,</td></tr><tr><td></td><tdclass=PParameternowrap>y,</td></tr><tr><td></td><tdclass=PParameternowrap>w,</td></tr><tr><td></td><tdclass=PParameternowrap>h</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the state of the canvas for drawing the shape.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.updateVmlContainer"></a>updateVmlContainer</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.updateVmlContainer = function()</td></tr></table></blockquote><p>Sets the width and height of the container to 1px.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.redrawHtmlShape"></a>redrawHtmlShape</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.redrawHtmlShape = function()</td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.updateHtmlTransform"></a>updateHtmlTransform</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.updateHtmlTransform = function()</td></tr></table></blockquote><p>Returns the spacing as an <ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link40onMouseOver="ShowTip(event, 'tt25', 'link40')"onMouseOut="HideTip('tt25')">mxPoint</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.updateHtmlFilter"></a>updateHtmlFilter</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.updateHtmlFilter = function()</td></tr></table></blockquote><p>Rotated text rendering quality is bad for IE9 quirks/IE8 standards</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.updateValue"></a>updateValue</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.updateValue = function()</td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.updateFont"></a>updateFont</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxText.prototype.updateFont = function(</td><tdclass=PParameternowrap>node</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.updateSize"></a>updateSize</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxText.prototype.updateSize = function(</td><tdclass=PParameternowrap>node,</td></tr><tr><td></td><tdclass=PParameternowrap>enableWrap</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.getMargin"></a>getMargin</h3><divclass=CBody><p>Returns the spacing as an <ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link41onMouseOver="ShowTip(event, 'tt25', 'link41')"onMouseOut="HideTip('tt25')">mxPoint</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxText.getSpacing"></a>getSpacing</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.getSpacing = function()</td></tr></table></blockquote><p>Returns the spacing as an <ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link42onMouseOver="ShowTip(event, 'tt25', 'link42')"onMouseOut="HideTip('tt25')">mxPoint</a>.</p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CClass>Base class for all shapes. </div></div><divclass=CToolTipid="tt2"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function mxText(</td><tdclass=PParameternowrap>value,</td></tr><tr><td></td><tdclass=PParameternowrap>bounds,</td></tr><tr><td></td><tdclass=PParameternowrap>align,</td></tr><tr><td></td><tdclass=PParameternowrap>valign,</td></tr><tr><td></td><tdclass=PParameternowrap>color,</td></tr><tr><td></td><tdclass=PParameternowrap>family,</td></tr><tr><td></td><tdclass=PParameternowrap>size,</td></tr><tr><td></td><tdclass=PParameternowrap>fontStyle,</td></tr><tr><td></td><tdclass=PParameternowrap>spacing,</td></tr><tr><td></td><tdclass=PParameternowrap>spacingTop,</td></tr><tr><td></td><tdclass=PParameternowrap>spacingRight,</td></tr><tr><td></td><tdclass=PParameternowrap>spacingBottom,</td></tr><tr><td></td><tdclass=PParameternowrap>spacingLeft,</td></tr><tr><td></td><tdclass=PParameternowrap>horizontal,</td></tr><tr><td></td><tdclass=PParameternowrap>background,</td></tr><tr><td></td><tdclass=PParameternowrap>border,</td></tr><tr><td></td><tdclass=PParameternowrap>wrap,</td></tr><tr><td></td><tdclass=PParameternowrap>clipped,</td></tr><tr><td></td><tdclass=PParameternowrap>overflow,</td></tr><tr><td></td><tdclass=PParameternowrap>labelPadding</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new text shape.</div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.baseSpacingTop</td></tr></table></blockquote>Specifies the spacing to be added to the top spacing. </div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.baseSpacingBottom</td></tr></table></blockquote>Specifies the spacing to be added to the bottom spacing. </div></div><divclass=CToolTipid="tt5"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.baseSpacingLeft</td></tr></table></blockquote>Specifies the spacing to be added to the left spacing. </div></div><divclass=CToolTipid="tt6"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.baseSpacingRight</td></tr></table></blockquote>Specifies the spacing to be added to the right spacing. </div></div><divclass=CToolTipid="tt7"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.replaceLinefeeds</td></tr></table></blockquote>Specifies if linefeeds in HTML labels should be replaced with BR tags. </div></div><divclass=CToolTipid="tt8"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.verticalTextRotation</td></tr></table></blockquote>Rotation for vertical text. </div></div><divclass=CToolTipid="tt9"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.ignoreClippedStringSize</td></tr></table></blockquote>Specifies if the actual string size should be measured if a label is clipped. </div></div><divclass=CToolTipid="tt10"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.ignoreStringSize</td></tr></table></blockquote>Specifies if the actual string size should be measured. </div></div><divclass=CToolTipid="tt11"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxText.prototype.isParseVml = function()</td></tr></table></blockquote>Text shapes do not