
###########
TextBoxBase
###########

.. js:class:: Markup.Shapes.TextBoxBase

   
   Index
   =====
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Markup.Shapes.TextBoxBase.getBoxPortion`
   * :js:meth:`~Markup.Shapes.TextBoxBase.getPadding`
   * :js:meth:`~Markup.Shapes.TextBoxBase.getTextPortion`
   * :js:meth:`~Markup.Shapes.TextBoxBase.setPadding`
   
   




Methods
=======

.. js:method:: Markup.Shapes.TextBoxBase.getBoxPortion

   .. rst-class:: sig-pretty-signature
   
      | getBoxPortion(): :js:class:`RectangleBase <Markup.Shapes.RectangleBase>`
   
   Gets the Box portion of the TextBox. Use the methods on this object to modify the appearance of the rectangle around the text string
   
   **Returns**\ : :js:class:`RectangleBase <Markup.Shapes.RectangleBase>`
   
      the rectangle markup object.
   
   



.. js:method:: Markup.Shapes.TextBoxBase.getPadding

   .. rst-class:: sig-pretty-signature
   
      | getPadding(): *number*
   
   Gets the Pixel distance between the text and outer rectangle
   
   **Returns**\ : *number*
   
      the padding value.
   
   



.. js:method:: Markup.Shapes.TextBoxBase.getTextPortion

   .. rst-class:: sig-pretty-signature
   
      | getTextPortion(): :js:class:`TextMarkupBase <Markup.Shapes.TextMarkupBase>`
   
   Gets the Text portion of the TextBox. Use the methods on this object to modify the appearance of the text string
   
   **Returns**\ : :js:class:`TextMarkupBase <Markup.Shapes.TextMarkupBase>`
   
      the text markup object
   
   



.. js:method:: Markup.Shapes.TextBoxBase.setPadding

   .. rst-class:: sig-pretty-signature
   
      | setPadding(**padding**\ : *number*\ ): *void*
   
   Sets the Pixel distance between the text and outer rectangle
   
   **Parameters**
   
      **padding**\ : *number*
   
         the padding value.
   
   
   
   **Returns**\ : *void*
   





